Home ProgrammingASP.NET HTTP Error 500.23 – Internal Server Error – Solution 2

HTTP Error 500.23 – Internal Server Error – Solution 2

by John Bhatt
1 comment 2356 views
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/[email protected] 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.
Internal Server Error – HTTP Error 500.23 – Solution 1


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:

        <validation validateIntegratedModeConfiguration="false"/>

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

1 comment

Related Articles

1 comment

random video chat May 11, 2015 - 11:35 AM

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


Leave a Reply

Do NOT follow this link or you will be banned from the site!