Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/visual-studio-2010/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/apache-kafka/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 2010 SQL Server Management Studio赢得';Windows更新后无法工作_Visual Studio 2010_Ssms_Windows Update - Fatal编程技术网

Visual studio 2010 SQL Server Management Studio赢得';Windows更新后无法工作

Visual studio 2010 SQL Server Management Studio赢得';Windows更新后无法工作,visual-studio-2010,ssms,windows-update,Visual Studio 2010,Ssms,Windows Update,今天早上上班时,我的电脑(Win7 x64)被Windows Update强制重新启动。现在,SQL Server Management Studio(SQL Server 2008 r2)在连接到数据库并尝试展开树视图时失败,原因是: 无法将“System.\u ComObject”类型的COM对象强制转换为接口 键入“Microsoft.VisualStudio.OLE.Interop.IServiceProvider”。这 操作失败,因为COM组件上的QueryInterface调用失败

今天早上上班时,我的电脑(Win7 x64)被Windows Update强制重新启动。现在,SQL Server Management Studio(SQL Server 2008 r2)在连接到数据库并尝试展开树视图时失败,原因是:

无法将“System.\u ComObject”类型的COM对象强制转换为接口 键入“Microsoft.VisualStudio.OLE.Interop.IServiceProvider”。这 操作失败,因为COM组件上的QueryInterface调用失败 用于与IID{6D5140C1-7436-11CE-8034-00AA006009FA}的接口 由于以下错误而失败:不支持此类接口 (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生成资源管理器(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系统(KB2553074)的安全更新
Microsoft Office Outlook 2007的更新(KB2583910)
Microsoft Office 2007系统的安全更新(KB2584063)
针对基于x64系统的Windows 7更新(KB2616676)
Windows恶意软件删除工具x64-2011年9月(KB890830)

所以,相当多。事件查看器未显示任何错误(无论如何,与此无关),并且所有更新都已成功安装。我现在被困在这里了,我看到一些文章建议重新注册DLL,但到目前为止还没有成功

欢迎任何帮助

终于找到了解决办法

似乎Internet Explorer是罪魁祸首,原因很奇怪

  • 以管理模式启动命令行
  • 如果您有Win x64,请转到
    C:\Program Files\Internet Explorer
    C:\Program Files(x86)\Internet Explorer
  • 执行
    regsvr32/u ieproxy.dll
    (如果未加载,可能会引发错误)
  • 执行
    regsvr32 ieproxy.dll
这对我来说是个好办法(事实上,我多注册了一次/取消了一次,但那不应该有什么可说的?)

希望这对任何人都有帮助