title: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.OLE.Interop.IServiceProvider'
body: <p>After installing Visual Studio 2008 and SQL Server 2008 on Windows 7, I get the following error when connecting to a server with SQL Management Studio:</p>
  
  <blockquote>
    <p>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)</p>
  </blockquote>
  
  <p>I've seen blog postings recommending reregistering actprxy.dll, but this has no effect.  Anyone know how to resolve this issue?</p>