I'm essentially logging errors to ELMAH in the same way as this SO answer suggests but initially I got an error from IIS suggesting the setting wasn't used and then when I cleared up the error (by turning of legacy config validation) my hooks don't appear to be called.
HTTP Error 500.22 - Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
Most likely causes:
* This application defines configuration in the system.web/httpModules section.
I know a bunch of the settings like system.web/httpModules need to be migrated to system.webServer but I can't seem to figure out what to do about the soapExtensionTypes config setting.
<webServices>
<soapExtensionTypes>
<add type="ModuleName.SoapExceptionHandler, ModuleName" priority="1" group="0" />
</soapExtensionTypes>
</webServices>
What do I need to do to get my SoapExtension
to get loaded into the pipeline?
Alternatively am I just wrong and it should work but I've goofed it?
Update: In my httpModules section I now have,
<httpModules>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
</httpModules>