Skip to main content

Featured post

How to Insert line break in Text component in React Native

Hi, I was developing an application in react native.I have to handle lots of text data in this small react native application.I have used  Text component in react native many times. While working on this application,i had a requirement to display some text content with line breaks.I will explain it clearly with an example.I want to display a text as shown below  Welcome Please subscribe my channel I wrote react native code as shown below <View> <Text> Welcome Please subscribe my channel </Text> <View> When i run these lines of code,It will display text as shown below Welcome Please subscribe my channel   - instead of displaying in two lines with line break,it displays in a single line.So i have to find a solution to insert line break in Text component in React Native.After lots of research,i found a clean solution as shown below <View> <Text> Welcome{"\n"} Please subscribe my channel </Text> <View> Here ...

An internal error has occurred error for Remote Desktop Connection -When try to connect my Server machine from a client machine

One day I was trying to connect my Windows Server 2012 OS  running machine from one of Windows 10 OS running client machine. I opened run window and typed 'server' as shown below




Then I got the error as shown below 


      An internal error has occurred


In order to fix this An internal error has occurred error I followed the below steps.


Step-1


Open RUN window and type GPEDIT.MSC and Press ENTER Key




Step-2

Now you will get Local Group Policy Editor  window as shown below





 




Step-3

Go To  Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Security  as shown below image






Step-4 


Click on Require use of specific security layer for remote (RDP) connections  and you will get a window as shown below 

Select Enabled option

Security Layer - RDP

and Click APPLY and OK 







We have successfully fixed the error - 
An internal error has occurred error for Remote Desktop Connection


Now you can try to access the server machine using remote desktop connection as shown below