| Author |
Topic  |
|
|
Vack
Constraint Violating Yak Guru
USA
464 Posts |
Posted - 08/23/2012 : 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
Flowing Fount of Yak Knowledge
Germany
8513 Posts |
|
|
prett
Posting Yak Master
USA
161 Posts |
Posted - 08/23/2012 : 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 |
Edited by - prett on 08/23/2012 23:42:25 |
 |
|
|
davegeeit
Starting Member
11 Posts |
|
| |
Topic  |
|