无法将"System .__ ComObject"类型的COM对象强制转换为接口类型"Microsoft.VisualStudio.OLE.Interop.IServiceProvider"

Wil*_*rde 13 sql-server-2008 visual-studio-2008 sql-server-2008-r2

在Windows 7上安装Visual Studio 2008和SQL Server 2008后,使用SQL Management Studio连接到服务器时出现以下错误:

无法将"System .__ ComObject"类型的COM对象强制转换为接口类型"Microsoft.VisualStudio.OLE.Interop.IServiceProvider".此操作失败,因为由于以下错误,对IID为"{6D5140C1-7436-11CE-8034-00AA006009FA}"的接口的COM组件的QueryInterface调用失败:不支持此类接口(HRESULT异常:0x80004002(E_NOINTERFACE)) .(Microsoft.VisualStudio.OLE.Interop)

我看过博客帖子建议重新注册actprxy.dll,但这没有任何效果.有谁知道如何解决这个问题?

sag*_*rub 25

actprxy.dll also didn't work for me. I found a solution that worked here

regsvr32 "C:\Program Files\Internet Explorer\ieproxy.dll"

if you are running 64 bit windows, try this:

regsvr32"C:\ Program Files(x86)\ Internet Explorer\ieproxy.dll"

  • +1保存我重新安装管理工作室; 谢谢! (3认同)
  • 我在新的(截至2012年4月)Visual Studio 11测试版上遇到了这个问题.运行此步骤为我修复了它.谢谢! (2认同)