Search code examples
asp.netvisual-studioiisvisual-studio-2013iis-express

Internal Server Error 500.24


I'm trying to run an ASP.NET project in Visual Studio 2013 Express for Web in IIS Express.

When I launch it, I see following message in the browser:

Screenshot

Translation from German: ASP.NET setting was recognized, which is invalid in the "integrated" managed pipeline mode. Probable causes: "system.web/identity@impersonate" is set to "true".

How can I fix this?

Update 1: The Properties panel:

Properties panel


Solution

  • I fixed the error by changing following files:

    vwd.webinfo (added useClassicPipelineMode tag):

    <?xml version="1.0"?>
    <!-- 
      Visual Studio global web project settings.
    -->
    <VisualWebDeveloper>
    
      <iisExpressSettings windowsAuthentication="enabled" anonymousAuthentication="enabled" useClassicPipelineMode="true"/>
    </VisualWebDeveloper>
    

    Web.config:

    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
    </system.webServer>