首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

当我想要恢复一个Database的时候,出现如下错误框:

 

 

错误信息如下:

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

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

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

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

System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing 'ReportServer' database. (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.0.2531.0+((Katmai_PCU_Main).090329-1045+)&LinkId=20476

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

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

 

解决方案:

1, 在窗口 "Restore Database – ####" 中,选择"Options", 选中"Overwrite the existing database (WITH REPLACE)" 即可

image