I have installed SP 2010 in a Windows Server 2008 R2 loaded environment. I have been using VS 2010 for developing application pages for SP 2010.
I make use of wsp b
Fixed this problem by editing the Web.config and applicationhost.config. C:\Users\\Documents\IISExpress\config or right click the IIS Express icon on the tray and view all application and click the desired website and then click the configuration file link.
Comment out
Set the parent node to
Set the httpErrors to Allow
Change your web project web.config HttpErrors
That should fix it, its basically saying that "I dont want IIS Express to override the configuration of my site".