Can anybody shed any light on the above error? I've tried with both Express and Ultimate editions of VS 2013.
I'm running 64-bit Windows 7.
Solutions to similar problems I've found tend to be targetting x86 rather than AnyCPU from the Solution explorer. However, I can't even build the solution to explore it.
The new project I'm trying to build is c# ASP.net MVC.
I changed permissions giving all users access to the projects folder - and rebooted - this fixed it for me.
Thanks for all the replies and suggestions. On the PC I'm using, the Documents directory and it's contents are encrypted by default - including my IISExpress. Removing the encryption solved the problem.
Run Visual studio as administrator, it will solve this issue.
I got same exception from hresult: 0x80004005 (e_fail) error too.
This happen after I installed SQL server 2014, before that, my VS2013 is working fine.
I solve this by uninstalled IIS 8 Express, and re-install again.
Everything works fine afterwards so far.
If you linking to any native/COM libraries,so then change the solution's build target from
AnyCpu
tox86
If the other solutions in this thread didn't help try updating your graphics drivers. I wasn't getting an error like above, but I couldn't click options in the create new project window.
I had installed uninstalled and reinstalled VS 2013 professional, premium and express multiple times, but in the end it was getting my latest graphics drivers, the beta release, that caused this issue to go away.
I'm running Windows 8.1 (with the new update), and Radeon HD7850.