I am using sqlserver 2005 in my win application.I need to take backup of my database to any disk.I have tried a lot bt an exception is raised.
"Could not locate entry in sysdatabases for database 'JmAccount.mdf' . No entry found with that name. Make sure that the name is entered correctly.
BACKUP DATABASE is terminating abnormally."
My connection string is like
........
con = new SqlConnection(@ "Data Source=.\SQLEXP RESS;AttachDbFi lename=D:\Accou ntData\JmAccoun t.mdf;Integrate d Security=True;C onnect Timeout=30;User Instance=True") ;
I need to take the JmAccount database to take as backup to any location in disk.
"Could not locate entry in sysdatabases for database 'JmAccount.mdf' . No entry found with that name. Make sure that the name is entered correctly.
BACKUP DATABASE is terminating abnormally."
My connection string is like
........
con = new SqlConnection(@ "Data Source=.\SQLEXP RESS;AttachDbFi lename=D:\Accou ntData\JmAccoun t.mdf;Integrate d Security=True;C onnect Timeout=30;User Instance=True") ;
I need to take the JmAccount database to take as backup to any location in disk.
Comment