SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Restoring Database getting error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Vack
Constraint Violating Yak Guru

USA
497 Posts

Posted - 08/23/2012 :  13:24:10  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

Germany
8765 Posts

Posted - 08/23/2012 :  13:45:11  Show Profile  Visit webfred's Homepage  Reply with Quote
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

USA
203 Posts

Posted - 08/23/2012 :  23:40:24  Show Profile  Visit prett's Homepage  Reply with Quote
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

Edited by - prett on 08/23/2012 23:42:25
Go to Top of Page

davegeeit
Starting Member

11 Posts

Posted - 01/17/2013 :  02:26:43  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000