今天早上上类时,我的电脑(Win7 x64)被 Windows 更新强制重启。现在,SQL Server Management Studio (SQL Server 2008 r2) 在连接到数据库并尝试伸展树(Splay Tree) View 时失败,引用:
Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.OLE.Interop.IServiceProvider'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{6D5140C1-7436-11CE-8034-00AA006009FA}' failed due to the following error: No such interface supported (Exception from HRESULT:0x80004002 (E_NOINTERFACE)). (Microsoft.VisualStudio.OLE.Interop)
夜间安装了以下更新:
Microsoft Office 2007 系统安全更新 (KB2553090)
Microsoft Visual Studio 2010 Service Pack 1 Web 平台工具更新 (KB2548139)
Microsoft Visual Studio 2010 Service Pack 1 报告查看器更新 (KB2549864)
Microsoft Visual Studio 2010 Service Pack 1 TFS Build Explorer 更新 (KB2522890)
Microsoft Office Excel 2007 安全更新 (KB2553073)
Microsoft Office Groove 2007 安全更新 (KB2552997)
Microsoft Office Outlook 2007 垃圾邮件筛选器更新 (KB2553110)
适用于基于 x64 的系统的 Windows 7 安全更新 (KB2570947)
Microsoft Visual Studio 2010 Service Pack 1 更新 (KB2547352)
Microsoft Office 2007 系统安全更新 (KB2553089)
Microsoft Visual Studio 2010 Service Pack 1 更新 (KB2529927)
2007 Microsoft Office System 安全更新 (KB2553074)
Microsoft Office Outlook 2007 更新 (KB2583910)
Microsoft Office 2007 系统安全更新 (KB2584063)
适用于基于 x64 的系统的 Windows 7 更新 (KB2616676)
Windows 恶意软件删除工具 x64 - 2011 年 9 月 (KB890830)
所以,相当多。 事件查看器没有显示任何错误(无论如何,与此无关)并且所有更新均已成功安装。我现在有点被困在这里,我看过一些建议重新注册 DLL 的文章,但到目前为止还没有奏效。
非常欢迎任何帮助!
最佳答案
终于找到解决办法了!
出于某种非常奇怪的原因,似乎 Internet Explorer 是罪魁祸首。
- 以管理模式启动命令行。
- 转至
C:\Program Files\Internet Explorer
或c:\Program Files (x86)\Internet Explorer
(如果您使用的是 Win x64)。 - 执行
regsvr32/u ieproxy.dll
(如果未加载,可能会引发错误) - 执行
regsvr32 ieproxy.dll
这对我有用(实际上,我额外注册/取消注册了一次,但这应该没什么可说的?)!
希望这对任何人都有帮助!
关于visual-studio-2010 - Windows 更新后 SQL Server Management Studio 将无法工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7441983/