visual-studio-2010 - Windows 更新后 SQL Server Management Studio 将无法工作

标签 visual-studio-2010 ssms windows-update

今天早上上类时,我的电脑(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 Explorerc:\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/

相关文章:

c++ - 控制台输出笑脸

visual-studio-2010 - 在项目模板中使用 IWizard 而不在 GAC 中安装程序集?

SQL Server 脚本 2012 项目到 Team Foundation Server 2012

sql-server - 如果不指定端口号,ssms 无法连接到默认的 sql server 实例

c++ - Visual C++,Windows 更新接口(interface) (IUpdate) <wuapi.h>,get_MsrcSeverity

c# - 如何使用 C# 在 XP 中以编程方式禁用 Windows 更新

c++ - 错误 C2440 和仿函数

sql-server - 无法在azure sql中为主数据库创建主 key

c# - 如何修复 .NET Windows 应用程序在启动时崩溃并出现异常代码 : 0xE0434352?