ASP 0145 error due to IIS feature delegation conflict

21 January 2011

I had a problem with a classic ASP site on a new Windows 7 Dev machine:

When opening the site for the first time, a white page with a single line appears:

HTTP/1.1 New Application Failed

I enabled "failed request tracing" in IIS and found out that the internal error is "ASP 0145"
but there is no further information about this problem online.

I retraced my recent steps and after removing the

<system.webServer><asp> 

section from the web.config file, the problem went away.

It turns out that in IIS on the server level, the Feature Delegation for "ASP" was set to "Read Only",
so if you still have the settings in the web.config, you get this error.

I enabled Read/Write delegation for ASP and now the settings in the web.config work fine.

Pages in this section

Categories

ASP.Net | Community | Development | IIS | IT Pro | Security | SQL (Server) | Tools | Web | Work on the road | Windows