HTTP Error 500.23 - Internal Server Error Local IIS Web Server

While working with Visual Studio if you face this issue then makes sure that you have below setting in your web.config file:

  1. <system.webServer>  
  2.    <validation validateIntegratedModeConfiguration="false"/>  
  3. </system.webServer>  
  4. </configuration>  
code