Question

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

Was it helpful?

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>

OTHER TIPS

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

IIS Manager -> application Pools -> right click site -> Advanced Settings

Set Enable 32-bit applications to True enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top