Error HRESULT E_FAIL has been returned from a call to a COM component VS2012 when debugging
visual-studio, visual-studio-2012
Solution
I removed the csproj.user files and it worked for me.
In some other cases, to fix this error, I go to Web tab in the project properties and check "Use Visual Studio Development Server" and "Auto-assign Port". After that I need to rebuild the project and restart VS
Problem
I have a problem debugging a project migrated from Visual Studio 2010 to 2012. Every time I go to debug it I get the error message: "Error HRESULT E_FAIL has been returned from a call to a COM component". Compiling and running the application in a local IIS server works fine - just cannot debug. The other change other than moving to VS2012 is I am now using Team Foundation Server for source control and issue tracking - but I cannot see how that would affect it. I can narrow it down to the following - The project file - it has been migrated from VS 2003 as a website project and has been chopped and changed up the different versions - Crystal Report runtime library/ some other library Anyone with any ideas?