The configuration section ‘customErrors’ cannot be read because it is missing a section declaration
I started receiving this error after I added the following elements to my Web.config file:
The problem turned out to be that the custom errors entry actually belongs under system.web. All you actually need to add it the <customErrors mode=”Off”/> part – just make sure it’s under system.web.
I’ve just upgraded to Visual Studio 2013 and ran into the following while trying to run IIS express:
Failed to register URL “http://10.1.1.2:53034”
; for site “XXX” application “/”. Error description: Access is denied. (8×80070005).
The solution ended up being pretty obvious, I didn’t have permission. Run it with administrative privileges and the error goes away.