Aneek
Aneek

Reputation: 145

.NET application deployment Error in IIS

enter image description hereWhen I am trying to deploy a .net application in the IIS Server I am getting an error as Configuration settings do not match. Please help me with this.

Upvotes: 0

Views: 88

Answers (2)

Zahid Mustafa
Zahid Mustafa

Reputation: 195

Please try this in Web.Config

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

Upvotes: 1

Aneek
Aneek

Reputation: 145

The error is specifically to do with 'client impersonation'. I had the error on one machine but not on another. By comparing settings I worked out the difference.

Start IIS Manager. Select the server in the left pane and double-click 'Authentication' under the IIS group in the central pane. Select ASP.NET Impersonation and select 'Disable' at the top of the right pane.

Upvotes: 1

Related Questions