Backup Problem
Hi all
I got one error when i am trying to get backup of database.
my error is:An exception of type 'Microsoft.SqlServer.Management.Smo.FailedOperatio nException' occurred in Microsoft.SqlServer.Smo.dll but was not handled in user code
The medium on device 'd:\' expires on Aug 21 2009 6:44:24:000PM and cannot be overwritten.
BACKUP DATABASE is terminating abnormally.
my code is:
ServerConnection connection = new ServerConnection(con);
Server sqlServer = new Server(connection);
sqlBackup.SqlBackup(sqlServer); //i got error on this line
con is object of sqlconnection
Thanks
|