Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 266
Dmitrii Pisarenko Avatar asked Apr 07 '14 14:04

Dmitrii Pisarenko


2 Answers

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>
like image 190
Dmitrii Pisarenko Avatar answered Nov 20 '22 18:11

Dmitrii Pisarenko


In Visual Studio, select your web project in the solution explorer, then open the properties window (keyboard shortcut F4)

You should be seeing a list of properties to configure your IIS Express Server.

Change the option "Managed Pipeline Mode" from Integrated to Classic

like image 44
bastos.sergio Avatar answered Nov 20 '22 18:11

bastos.sergio