Reputation: 145
When 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
Reputation: 195
Please try this in Web.Config
<configuration>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
</system.webServer>
</configuration>
Upvotes: 1
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