2009-10-31 106 views
12

Después de instalar Visual Studio 2008 y SQL Server 2008 en Windows 7, aparece el siguiente error al conectarme a un servidor con SQL Server Management Studio:No se puede convertir el objeto COM del tipo 'System .__ ComObject' al tipo de interfaz '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)

he visto publicaciones en blogs que recomiendan volver a registrar actprxy.dll, pero esto no tiene ningún efecto. ¿Alguien sabe cómo resolver este problema?

+0

estoy teniendo un error similar al intentar publicar con ClickOnce (sin sql-servidor involucrado) –

Respuesta

25

actprxy.dll tampoco funcionó para mí. He encontrado una solución que funcionó 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

yo estaba corriendo en este tema en el nuevo (a partir de abril de 2012) Visual Studio 11 beta. Correr este paso lo solucionó por mí. ¡Gracias! –

+3

+1 Me salvó la reinstalación del estudio de administración; ¡Gracias! – WestDiscGolf

+2

Tuve este problema con los SMS de SQL 2008 R2 ... ¡La sopa de arriba lo arregló! – larryr

Cuestiones relacionadas