不错呦!smile@林凯西,确保“准备文件”中的几个文件都有安装,S...您好,看了您这篇帖子觉得很有帮助。但是有个问题想请...我的修改过了怎么还被恶意注册呢 @jjjjiiii 用PJ快9年了,主要是A...PJ3啊,貌似很少有人用PJ了,现在不是WP就是z...@332347365,我当时接入时错误码没有-10...楼主,ChkValue值应为-103是什么意思呢?...大哥 你最近能看到我发的信息,请跟我联系,我有个制...
SQL2005出错:CryptUnprotectData: Win32 错误:-2146893813
编辑:dnawo 日期:2010-06-20

如上图所示,在我的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)
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
评论: 0 | 引用: 0 | 查看次数: 7642
发表评论
请登录后再发表评论!