日期:2014-05-18  浏览次数:23429 次

MS-SQL server 数据库还原时提示 指定的转换无效 错误
MS-SQL server 数据库还原时提示 指定的转换无效 错误

在还原数据库的时候,再添加BAK备份文件时,弹出提示 指定的转换无效。(SqlManagerUI)
此BAK文件是在sql server 10.0.1600 上备份的
需要还原的数据库 版本为 sql server 10.0.4000
网上的一个论坛说是因为BAK备份源所在的数据库版本不对,那现在如何进行处理?

难不成要把数据库文件分离出来然后在新版本的数据库上附加才行》?!

以下是错误消息正文
===================================

指定的转换无效。 (SqlManagerUI)

------------------------------
程序位置:

  在 Microsoft.SqlServer.Management.SqlManagerUI.SqlRestoreDatabaseGeneral.PopulateGridWithBackupSetsFromDevices()
  在 Microsoft.SqlServer.Management.SqlManagerUI.SqlRestoreDatabaseGeneral.GetBackupSetsFromDevices()
  在 Microsoft.SqlServer.Management.SqlManagerUI.SqlRestoreDatabaseGeneral.textDeviceSelected_TextChanged(Object sender, EventArgs e)
  在 System.Windows.Forms.Control.OnTextChanged(EventArgs e)
  在 System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)
  在 System.Windows.Forms.Control.set_Text(String value)
  在 System.Windows.Forms.TextBoxBase.set_Text(String value)
  在 System.Windows.Forms.TextBox.set_Text(String value)
  在 Microsoft.SqlServer.Management.SqlManagerUI.SqlRestoreDatabaseGeneral.buttonSelectDevice_Click(Object sender, EventArgs e)
  在 System.Windows.Forms.Control.OnClick(EventArgs e)
  在 System.Windows.Forms.Button.OnClick(EventArgs e)
  在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
  在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  在 System.Windows.Forms.Control.WndProc(Message& m)
  在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
  在 System.Windows.Forms.Button.WndProc(Message& m)
  在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



------解决方案--------------------
http://support.microsoft.com/kb/264474