Problem
I tried installing DotNetOpenAuth SDK-3.4.5.10201.vsix but it didn’t work. It works locally (when I run as localhost), but it doesn’t function when I try to publish it.
I got the following IIS error message:
AND
The following are some suggestions for resolving the issue:
Attempt the following:
However, because I am not the owner of the ISS server, I do not have access to it. Is there a way to get around this?
Asked by Mikael
Solution #1
The second option is the one you want to go with.
Make sure the following keys are included in your web.config:
<configuration>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
</system.webServer>
</configuration>
Answered by David
Solution #2
Validation validateIntegratedModeConfiguration=”false”/> solves the problem, however it isn’t acceptable in many cases. After circling this topic a few times, I aim to assist others in not only overcoming but also comprehending the difficulty. (Which becomes more and more important as IIS 6 fades into myth and rumor.)
Background:
This problem and the resulting confusion began with the release of ASP.NET 2.0 and IIS 7. IIS 6 had and still has only one pipeline mode, which is the same as what IIS 7+ refers to as “Classic” mode. “Integrated” mode is the second, newer, and recommended pipeline method for any applications running on IIS 7+.
So, what’s the difference between the two? The main distinction is in the way ASP.NET communicates with IIS.
Overcoming the error:
Good reads:
*Of course, if you’re like that sort of thing, you can use incantations like wildcard mappings to get all kinds of bizarre things into the ASP.NET pipeline from IIS 6/Classic.
Answered by Jeremy Cook
Solution #3
If you still need to use the HTTP Module, setup it as follows (.NET 4.0 framework):
<system.webServer>
<modules runAllManagedModulesForAllRequests="true">
<add name="MyModule" type="[Namespace].[Class], [assembly]"/>
</modules>
<validation validateIntegratedModeConfiguration="false"/>
</system.webServer>
Answered by Ashraf Sayied-Ahmad
Solution #4
I experienced the same problem, but had a different solution. It entailed going to Control Panel>Administrative Tools>IIS Manager and changing the Managed Pipeline on my App site from Integrated to Classic.
Answered by Gaʀʀʏ
Solution #5
Examine your IIS authentication to see if there are any conflicts. i.e., enabling anonymous authentication and ASP.NET impersonation may both result in an error.
Answered by Jim Yu
Post is based on https://stackoverflow.com/questions/4209999/an-asp-net-setting-has-been-detected-that-does-not-apply-in-integrated-managed-p