2009-10-31 11 views
12

Windows 7에 Visual Studio 2008과 SQL Server 2008을 설치 한 후 연결할 때 다음 오류가 발생합니다. SQL 관리 Studio가있는 서버 :'System .__ ComObject'유형의 COM 개체를 'Microsoft.VisualStudio.OLE.Interop.IServiceProvider'인터페이스 유형으로 캐스팅 할 수 없습니다.

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)

블로그 게시에 actprxy.dll을 다시 등록하는 것이 좋지만이 방법은 아무런 효과가 없습니다. 누구든지이 문제를 해결하는 방법을 알고 있습니까?

+0

나는 (어떤 SQL 서버가 포함되지) –

답변

25

actprxy.dll 또한 나를 위해 작동하지 않았다. 나는 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"

+2

나는 (2012 년 4 월 같은) 새로운에서이 문제에 실행 된 ClickOnce를 함께 게시 할 때 비슷한 오류가 있어요 근무 해결책을 발견 Visual Studio 11 베타. 이 단계를 실행하면 나를 위해 해결되었습니다. 고맙습니다! –

+3

+1 관리 스튜디오를 다시 설치했습니다. 감사! – WestDiscGolf

+2

SQL 2008 R2 SMS에서이 문제가 발생했습니다 ... 위의 해결 방법이 해결되었습니다! – larryr