visual-studio-2010dbproj

dbproj : error : Error HRESULT E_FAIL has been returned from a call to a COM component


When I load up a solution in Visual Studio 2010 that contains a database project, I get this error:

Loading C:\path\project.dbproj ... C:\path\project.dbproj : error : Error HRESULT E_FAIL has been returned from a call to a COM component.

I've tried devenv.exe /setup but that did not fix it. Does anyone know how to fix this and get database projects to load?


Solution

  • I reran the Visual Studio install, and now my solution is fine. I didn't uninstall it, just selected Change or Remove Microsoft Visual Studio 2010 opition.