Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Restoring Database getting error

Author  Topic 

Vack
Aged Yak Warrior

530 Posts

Posted - 2012-08-23 : 13:24:10
I have a database that was backed up on SQL 2000 and I'm trying to restore to SQL 2008.

Getting the following Error after it reaches 100% restored.



TITLE: Microsoft SQL Server Management Studio
------------------------------

Restore failed for Server 'SQL'. (Microsoft.SqlServer.SmoExtended)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.2500.0+((KJ_PCU_Main).110617-0038+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

System.Data.SqlClient.SqlError: Could not continue scan with NOLOCK due to data movement. (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.2500.0+((KJ_PCU_Main).110617-0038+)&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2012-08-23 : 13:45:11
maybe database corruption on the source server...

http://www.tek-tips.com/viewthread.cfm?qid=1587227


Too old to Rock'n'Roll too young to die.
Go to Top of Page

prett
Posting Yak Master

212 Posts

Posted - 2012-08-23 : 23:40:24
It seems that SQL Server database or the database backup file get corrupted. Try following steps to resolve this error:

1. To check the SQL Server 2000 database integrity, run the command "DBCC CHECKDB(database_name)" on the SQL Server 2000 instance.
2. If DBCC CHECKDB execution print no error, try to backup and restore the database again.
3. If DBCC CHECKDB execution prints error messages, you switch the database in single-user mode and run DBCC CHECKDB with a repair option(REPAIR_ALLOW_DATA_LOSS | REPAIR_FAST| REPAIR_REBUILD). Note that using REPAIR_ALLOW_DATA_LOSS can result in risk of data loss. For more information, please see http://msdn.microsoft.com/en-us/library/aa258278(SQL.80).aspx.
4. If the database cannot be repaired, the another option is to export data from SQL Server 2000 to SQL Server 2008.

Still the problem is not get solved then the only option is to use third party SQL database recovery software. You can easily search these tools on Google: http://www.google.com/#hl=en&output=search&sclient=psy-ab&q=sql+repair+software
Go to Top of Page

davegeeit
Starting Member

11 Posts

Posted - 2013-01-17 : 02:26:43
Checkout this reference would be help you.

http://msdn.microsoft.com/en-us/library/ms143393.aspx
http://social.msdn.microsoft.com/Forums/en-US/sqldisasterrecovery/thread/25594b61-23e8-4767-a9e7-2f50e7594f3a

Thanks
Go to Top of Page
   

- Advertisement -