Reputation: 18730
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:
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:
Upvotes: 13
Views: 17967
Reputation: 1
IIS Manager -> application Pools -> right click site -> Advanced Settings
Set Enable 32-bit applications to True enter image description here
Upvotes: -1
Reputation: 18730
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>
Upvotes: 9
Reputation: 6764
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
Upvotes: 7