IIS Error - HTTP Error 500.24 - Internal Server Error

I recently installed IIS on my Windows 7 PC, and when I opened http://localhost/ , it showed

  ********************* ERROR ***********************  
 HTTP Error 500.24 - Internal Server Error
 An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.  
 ********************* ERROR ***********************

 ********************* Detailed Error Information ***************  
 Module: ConfigurationValidationModule  
 Notification: BeginRequest  
 Handler: StaticFile  
 Error Code: 0x80070032  
 Requested URL: http: // localhost: 80 /  
 Physical Path: C: \ inetpub \ wwwroot  
 Logon Method: Not yet determined  
 Logon User: Not yet determined  
 *************************
+4
source share
1 answer

I'm not sure which code / configuration you are using, but you may have to change the application pool for your site to use Classic instead of integrated mode.

Classic mode is where IIS only works with ISAPI extensions and ISAPI filters directly ... Integrated mode processes all requests through a single pipeline for IIS and is tightly integrated with ASP.NET through the same pipeline.

  • And where you may run into difficulties:

Some legacy code may require that you run in classic mode to execute without errors. To take full advantage of IIS, we strongly recommend that you review your code if your application throws an error in Integrated but works fine in Classic.

+6
source

Source: https://habr.com/ru/post/1433112/


All Articles