SQL2005出错:CryptUnprotectData: Win32 错误:-2146893813



如上图所示,在我的SQL Server2005企业管理器中注册了几个服务器,但这几天发现,除了本机服务器(zyq-f7860ae5cd1),其他服务器均不能连接了,一连接就出错,提示:CryptUnprotectData: Win32 错误:-2146893813:



Google了下,发觉也有人碰到一样的问题,解决方法是将已注册的服务器删除了重新注册下就好了。后来想起来,在出现这问题前,我有修改了操作系统用户密码,很可能就是这个操作引发了该问题。

异常信息

引用内容 引用内容
************** 异常文本 **************
System.Exception: CryptUnprotectData: Win32 错误:-2146893813
   在 Microsoft.SqlServer.Management.Smo.RegSvrEnum.DataProtection.UnprotectData(Byte[] data, Int32 dwFlags)
   在 Microsoft.SqlServer.Management.Smo.RegSvrEnum.DataProtection.UnprotectData(String data)
   在 Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo.get_Password()
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.RegisteredServerTree.ConnectOeToCurrentRegServer()
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.RegisteredServerTree.OnDoubleClick(EventArgs e)
   在 System.Windows.Forms.TreeView.WndProc(Message& m)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.RegisteredServerTree.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)

参考资料

·Win32 error:-2146893813 With SQL 2005 on XP

上一篇: Excel 2003合并单元格
下一篇: 淘宝直通车自学测试试题
文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags:
最新日志:
评论: 0 | 引用: 0 | 查看次数: 7642
发表评论
登录后再发表评论!