Wrox Programmer Forums
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 18th, 2009, 10:59 AM
Authorized User
 
Join Date: Jun 2006
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup Problem RobCarter SQL Server 2000 2 August 20th, 2007 10:10 AM
Create backup folder & also backup files miracles Excel VBA 0 April 16th, 2007 02:28 AM
Backup scandalous Access 3 February 9th, 2007 01:19 PM
Backup help slesicki SQL Server 2005 2 December 28th, 2006 05:11 AM
BackUp problem acko SQL Server 2000 3 July 7th, 2003 08:16 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.