this is driving me slightly mad. I'm integrating two different apps, with their own authentication methods (seemed like a good idea at the time!). It builds fine.
Making this call (userInt is set to a valid integer in both cases) in global.asax:
in Session_Start is working ok, but in Application_AuthenticateRequest it gives me the following error:
System.NullReferenceException: Object reference not set to an instance of an object.
NullReferenceException: Object reference not set to an instance of an object.]
InstantASP.InstantForum.Logic.UserExists(Int32 UserID) +202
CEL.Global.Application_AuthenticateRequest(Object sender, EventArgs e) in c:\inetpub\wwwroot\cel\global.asax.cs:129
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Any pointers as to how to track down? The object I'm calling is a compiled dll, so getting in to what it's doing is going to be tricky. I'm wondering if there's a different context for these two parts of global.asax, but to be honest am a bit lost.
Thanks in advance