2012-02-20 98 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再次運行。謝謝!!!