IIS 500.19 Error in ASP.NET 4.0 Sub-Application

I created a test application under the main application on my website, which is an exact duplicate of the main application. I use the / test application to test new changes before putting them into production.

After updating the application from .NET 3.5 to .NET 4.0, my / test application refuses to start, returning error 500.19 from IIS. My main application (and another sub-application at the same level as / test) works fine.

I found many links about error 500.19, and they usually come down to some line in the web.config file, which is invalid.

However, in my case, the error does not point me to any particular line - the error message is copied below, note that the "Config Source" section is empty.

Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.


Detailed Error Information
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x800700b7
Config Error 
Config File \\?\c:\blahblahblah\test\web.config
Requested URL http://localhost:80/blahblahblah/test
Physical Path C:\blahblahblah\test
Logon Method Not yet determined
Logon User Not yet determined
Config Source

   -1: 
    0: 

Any tips would be appreciated!

+5
source share
3 answers

Glad you are sorted now.

For me (and these guys ) this error was due to the fact that the URL Rewrite Module was not installed - find the rewrite section in the web.config file.

+3
source

Nevermind ...; -)

- , . ( , .NET 4.0, web.config...)

, , ...

0

This error may also be related to an attempt to run the .net 4.0 application in IIS that was not specified by -iisreg with the .net 4.0 pool

0
source

All Articles