codai/Sharp-Lite — Issue #6: Bug in SessionPerRequestModule
Author: RPatrick
Created: 2012-02-23 13:33:29+00:00
State: open

I believe there might be an issue with the SessionPerRequestModule, but I'm not completely sure. Sharp Lite has been working fine for months, but after updating to the latest version (from about a month ago) I started getting the following exception:

Event handlers can only be bound to HttpApplication events during IHttpModule initialization.

It is complaining about the Dispose method in SessionPerRequestModule. This post seems to indicate that code is unecessary:

http://stackoverflow.com/questions/6877045/event-handlers-can-only-be-bound-to-httpapplication-events-during-ihttpmodule-in

I know that particular code didn't change so I'm not sure why I didn't experience it before. I also tried rolling back the Sharp Lite DLLs but am still consistently getting the exception.

-Patrick