Morning,
I have a strange problem when trying to backup up a SQL database through our software.
Its the MSDE version of SQL 2000 which is installed by default when our software is installed.
When running the backup routine and pointing the path to a UNC path it backs up fine. i.e \\server\SQL Backup\DATA\...
Try saving it to a Mapped drive which points to the same location i.e z:\DATA\.... and i get the following.
Exception Information:
OS Version: Microsoft Windows NT 5.1.2600.0
ExceptionManager.MachineName: DSK00159
ExceptionManager.TimeStamp: 29/08/2007 12:44:28
ExceptionManager.FullName: Sys_ExceptionManagement, Version=1.0.107.0, Culture=neutral, PublicKeyToken=null
ExceptionManager.AppDomainName: ApplicationFrame.exe
ExceptionManager.ThreadIdentity:
ExceptionManager.WindowsIdentity: **************
System.Runtime.InteropServices.COMException (0x80040C81): [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open backup device 'FNETMainBackupDevice'. Device error or device off-line. See the SQL Server error log for more details.
[Microsoft][ODBC SQL Server Driver][SQL Server]BACKUP DATABASE is terminating abnormally.
at SQLDMO.BackupClass.SQLBackup(_SQLServer ServerObject)
at FNET.CommonUtilities.DatabaseFunctions.BackUpDatabase(String _sDatabaseName, String _sDatabaseLocation, String _sServerName, String _sUserName, String _sPassword)
Can anyone advise what the issue maybe ?
Thanks in advance
I have a strange problem when trying to backup up a SQL database through our software.
Its the MSDE version of SQL 2000 which is installed by default when our software is installed.
When running the backup routine and pointing the path to a UNC path it backs up fine. i.e \\server\SQL Backup\DATA\...
Try saving it to a Mapped drive which points to the same location i.e z:\DATA\.... and i get the following.
Exception Information:
OS Version: Microsoft Windows NT 5.1.2600.0
ExceptionManager.MachineName: DSK00159
ExceptionManager.TimeStamp: 29/08/2007 12:44:28
ExceptionManager.FullName: Sys_ExceptionManagement, Version=1.0.107.0, Culture=neutral, PublicKeyToken=null
ExceptionManager.AppDomainName: ApplicationFrame.exe
ExceptionManager.ThreadIdentity:
ExceptionManager.WindowsIdentity: **************
System.Runtime.InteropServices.COMException (0x80040C81): [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open backup device 'FNETMainBackupDevice'. Device error or device off-line. See the SQL Server error log for more details.
[Microsoft][ODBC SQL Server Driver][SQL Server]BACKUP DATABASE is terminating abnormally.
at SQLDMO.BackupClass.SQLBackup(_SQLServer ServerObject)
at FNET.CommonUtilities.DatabaseFunctions.BackUpDatabase(String _sDatabaseName, String _sDatabaseLocation, String _sServerName, String _sUserName, String _sPassword)
Can anyone advise what the issue maybe ?
Thanks in advance