This project has moved and is read-only. For the latest updates, please go here.

AspNetExceptionLoggingModule error under integrated pipeline

Nov 27, 2010 at 4:21 PM

Hi there;

I'm using the AspNetSqlLoggingProvider on a web application built on top of .NET 4.0.
The application is running under IIS7 (Windows 2008 R2), .NET 4 Integrated pipeline.

Everything appears to be working as expected however, I'm not able to use the AspNetExceptionLoggingModule to log exceptions.
As soon as i set the httpModule the application won't run and IIS returns a message saying something in the httpModules section of the web.config is not compatible with integrated pipepline.

Thanks in advance.

Nov 27, 2010 at 10:11 PM

Hi Ebrito,

For IIS7 you will need to configure the exception logging module as follows:

<system.webServer>
    <modules>
      <add
        name="ExceptionLogger"
        type="CuttingEdge.Logging.Web.AspNetExceptionLoggingModule, CuttingEdge.Logging" />
    </modules>
</system.webServer>

I hope this helps.

 

Nov 30, 2010 at 6:41 PM

Thanks a lot!