HTTP Error 500.23 - Internal Server Error Local IIS Web Server

I am trying to create my async HTTP handler on Visual Studio 2012. I spent about 10 hours to find out why the server keeps giving me the answer " HTTP Error 500.23 - Internal Server Error ". Poor old.

And finally, I found out that if I switch my web server to Visual Studio Development Server. Everything is working fine. And when I get back to the IIS web server, it does not work again. I tried to do some setup with IIS Manager. I just don’t know what to do and how the local host is connected to my development folder. There is no information about the port used and the folder in which it is displayed.

Can anyone help? What should I do to make the IIS web server work for me? Thanks you

+7
source share
1 answer

You can fix this problem while maintaining the application pool in integrated mode.

add the following markup to your web.config application

<system.webServer> <validation validateIntegratedModeConfiguration="false"/> </system.webServer> 
+21
source