Here's a guy from the Cassini project explaining that "Integrated" modules will never be supported.
And among the dozen or so questions of people suffering with this problem, there was a hack solution:
You issue a remove
to remove the system.web/httpModule
, before you add the system.webServer/module
module.
<configuration>
<system.web>
<httpModules>
<add name="PerformanceHttpModule" type="DummyPlaceholder.PerformanceHttpModule"/>
</httpModules>
</system.web>
<system.webServer>
<modules>
<remove name="PerformanceHttpModule" />
<add name="PerformanceHttpModule" type="DummyPlaceholder.PerformanceHttpModule"/>
</modules>
</system.webServer>
</configuration>
- Cassini only supports the first syntax, but doesn't understand or crash on the second
- IIS only understand the second syntax, and crashes on the first
- With their powers combined, you get a system as well thought out as Tomcat and WebSphere.