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 ...

Specified Cast is not Valid (SqlManagerUI) Error in SQL Server 2008 When Restore A Database Backup

When I was trying to restore a database backup to SQL Server 2008 ,then I got the error 


Specified Cast is not Valid (SqlManagerUI)










Please Follow Below Steps to Restore a Database Backup in SQL Server 2008 



Click on the box Marked below




Click on the ADD button as Shown Below





Select the Database backup file from your computer and Click OK Button 








Now I got the error message as shown below




After lots of investigations ,I found that my database backup is taken from SQL Server 2014 .So I can not restore it in SQL Server 2008 . SQL server 2008 is lower version compared to SQL Server 2014.
We can restore database backup to higher versions of SQL Servers only

 So I opened SQL Server 2014 instance in my computer and restored that database backup successfully 









So Specified cast is not valid (SqlManagerUI) Error in Database backup restore issue  solved