在Windows 95/98下您也可以执行如" EXEC sp_addumpdevice 'tape', 'tapedump1', '//./tape0'"的指令,但是当您执行"backup database to tapedump1"时会出现如下的信息:Server: Msg 3201, Level 16, State 5, Line 1 Cannot open backup device 'tapedump1'. Device error or device off-line. See the SQL Server error log for more details. Server: Msg 3013, Level 16, State 1, Line 1 Backup or restore Operation terminating abnormally.
并且在SQL Server 7.0 errorlog也会出现如下信息: BackupTapeFile::OpenMedia: Backup device '//./tape0' failed to open. Operating system error = 2(The system cannot find the file specified.).
将SQL Server 7.0数据库备份到网络上时出现如下信息 Server: Msg 3201, Level 16, State 1, Line 1 Cannot open backup device 'E:/pubs.dat'. Device error or device off-line. See the SQL Server error log for more details. Server: Msg 3013, Level 16, State 1, Line 1 Backup or restore operation terminating abnormally. 并且在Error log出现 1998-12-29 11:58:21.62 kernel BackupDiskFile::CreateMedia: Backup device'E:/pubs.dat' failed to create. Operating system error = 5(access is denied.). 如何解决?
这是由于权限不够造成的。 请确定SQL Server Service的帐号为域用户(Domain User),并且在网络上写权限。