ASPCONFIG: Could not load file or assembly or one of its dependencies. Access is denied.

Problem While publishing a web application you get a puzzling error that reads like the following in the output window: 1>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v \ -p C:\Dev\WebApp\obj\Release\AspnetCompileMerge\Source C:\Dev\WebApp\obj\Release\AspnetCompileMerge\TempBuildDir 1>ASPNETCOMPILER(0,0): Error ASPCONFIG: Could not load file or assembly...

HTTP 404.17 – Not Found, Error Code: 0x80070032

HTTP Error 404.17 – Not Found The requested content appears to be script and will not be served by the static file handler. Error Code: 0x80070032 This especially obnoxious error occurs when you are trying...