Home >> ASP.NET >> HTTP Error 500.23 – Internal Server Error – Solution 2

HTTP Error 500.23 – Internal Server Error – Solution 2

Hi,If you keep visiting here, some days ago, I have posted a same post here. The problem is similar again but difference is another way to solve the same problem.
Lets have a look at fresh snapshot.

HTTP Error 500.23 – Internal Server Error

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

Most likely causes:

  • This application defines configuration in the system.web/httpHandlers section.

Things you can try:

  • Migrate the configuration to the system.webServer/handlers section. You can do so manually or by using AppCmd from the command line – for example, %SystemRoot%system32inetsrvappcmd migrate config “Default Web Site/”. Using appcmd to migrate your application will enable it to work in Integrated mode, and continue to work in Classic mode and on previous versions of IIS.
  • If you are certain that it is OK to ignore this error, it can be disabled by setting system.webServer/validation@validateIntegratedModeConfiguration to false.
  • Alternatively, switch the application to a Classic mode application pool – for example, appcmd set app “Default Web Site/” /applicationPool:”Classic .NET AppPool”. Only do this if you are unable to migrate your application.

(Set “Default Web Site” and “Classic .NET AppPool” to your application path and application pool name)

If you are still confused about the previous post, here is the link.


Last time, we received the similar problem while debugging from Visual Studio, this time it is produced by IIS itself after publishing.

Error 500.23


We will add small piece of code into web.config file. This can be done using two methods. Either you open any text-editor (notepad) with Administrator Privilege and open web.config from your IIS root or change the setting in Visual Studio web.config and publish again. What you want to is totally on you.
Piece of Code:

Place this code inside configuration node. Also, this will not harm you in case of security, This will just tell not to check such settings which are not required.
Thanks for reading. Do not forget to share or provide feedback.
+John Bhatt

About John Bhatt

Aka, Prithvi Raj Bhatt, A Proud Nepali, Blogger, Software Developer, ASP.NET, Web Designer & Developer, Faculty and a Troubleshooter blog @PRsBlog

Check Also


URL Re-write using Global.asax in ASP.NET

Hi, Lets come back to ASP.NET series again, We have few more articles on ASP.NET before. …

One comment

  1. random video chat

    Hello, I enjoy reading all of your article post. I like
    to write a little comment to support you.

Leave a Reply

Your email address will not be published. Required fields are marked *