Our web application uses NHibernate for persistence. An HTTPModule implements the Open-Session-In-View pattern. Basically a transaction is started when the BeginRequest event fires on the HTTPApplication and committed when the EndRequest event fires (this is an oversimplification but for my purposes here it should suffice).
Under XP / Windows 2003 etc. everything is fine. However under Vista and IIS 7 the HTTPModule does not appear to be invoked. I have tried to debug the HTTPModule (in another solution) by attaching to the running w3wp.exe but I can't (I am told that the symbols are not loaded). When I run the application using the ASP.NET Development Server the HTTPModule is invoked and I can attach to WebDev.WebServer.EXE for debugging.
Can anyone help me?