2012-02-20 75 views
0

我在尝试打开SQL Server Management Studio中2008 R2时,这个错误:错误消息(E_NONINTERFACE)打开SQL Server 2008 R2的SSMS

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)

详情:

  • Windows 7专业版
  • SQL Server 2008 R2
  • Visual Studio 2010
+1

这是一个全新的安装? PC上最近有什么改变?此外,这可能更关联[苏] – jadarnel27 2012-02-20 19:29:09

回答

2

我有完全相同的问题,经过大量的谷歌搜索和尝试了很多不同的解决方案,没有在我的情况下工作,我终于找到一个工作解决方案的另一个线程的计算器(here)基于一个social.msdn thread。看来,其他解决方案可以工作,这取决于不确定的情况下,尽可能的问题,原因是没有很好地界定......

为我工作的解决方案:

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

,如果你正在运行64位窗口,试试这个:

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

,对他人工作的解决方案:

First deregister the dll:

C:\windows\system32\regsvr32.exe" /u actxprxy.dll

然后重新注册: “C:\ Windows \ System32下\ REGSVR32.EXE” actxprxy.dll

注意:在这两种情况下,具有管理权限使用一个命令壳( + - [R然后键入cmd)

+0

为我工作,谢谢。 – 2013-05-14 12:13:54

0

感谢您的提示,user1267600! 我有同样的问题,但在我的情况下,问题是我不小心将“C:\ Program Files文件(x86)\ Internet Explorer”文件夹移动到另一个文件夹,SSMS开始显示此错误。然后,我找到了它并将其移回,并且所有事情都恢复了工作。不需要“ieproxy.dll”注册。

*提示 - 不要移动“Internet Explorer”文件夹或任何其他Windows相关的软文件夹,你永远不会知道依赖它! :)

0

我有同样的问题。安装IE11后,我注册了ieproxy.dll,并且SQL Server Management Studio再次运行。谢谢!!!

相关问题