I am trying to configure the mailbox reader on version 7.942. When the app loads the first pulse of messages are added successfully. But the next time around (after my configured interval of 60 seconds) the http module exits with an un-handled exception. Seems like it not getting very far the second time around. Any suggestions?
Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1334
Date: 2/18/2010
Time: 3:36:42 AM
User: N/A
Computer: RASERVER1
Description:
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/1424530891/Root
Process ID: 4396
Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
StackTrace: at BugNET.HttpModules.MailboxReaderModule.ScheduledWorkCallback(Object sender)
at System.Threading._TimerCallback.TimerCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._TimerCallback.PerformTimerCallback(Object state)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.