Friday, November 7, 2014

HTTP Error 500.24 - Internal Server Error ASP.net 4

HTTP Error 500.24 - Internal Server Error

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

Most likely causes:

  • system.web/identity@impersonate is set to true.

Things you can try:

  • If the application supports it, disable client impersonation.
  • If you are certain that it is OK to ignore this error, it can be disabled by setting system.webServer/validation@validateIntegratedModeConfiguration to false.
  • Move this application to an application pool using Classic .NET mode - for example, %SystemRoot%\system32\inetsrv\appcmd set app "Default Web Site/" /applicationPool:"Classic .NET AppPool"
(You can set "Classic .NET AppPool" to the name of another application pool running in Classic managed pipeline mode)

Detailed Error Information:

Module   ConfigurationValidationModule
Notification   BeginRequest
Handler   StaticFile
Error Code   0x80070032
Requested URL   https://localhost:443/images/welcome/login2.jpg
Physical Path   C:\images\welcome\login2.jpg
Logon Method   Not yet determined
Logon User   Not yet determined

More Information:

If you are not sure or unable to use the first two options, then it is preferred that you move this application to Classic mode. View more information »


It started working once I changed from
<identity impersonate="true" /> to <identity impersonate="false" /> in file : C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config

No comments:

Turn on Windows 11 Fast Boot

If windows starting is slow, to enable windows 11 fast startup/boot,  Press Windows + R, type powercfg.cpl, and hit Enter.  This will direct...