System.AccessViolationException when shutting down

Mar 15, 2010 at 10:31 PM

Has anyone seen this issue?  I get this exception every time the application is shutting down.

D:\SourceDir>wspeventrouter 1
 --- Press Enter to Quit ---

Unhandled Exception: Unhandled Exception: System.AccessViolationException: Attem
pted to read or write protected memory. This is often an indication that other m
emory is corrupt.
   at System.ServiceProcess.NativeMethods.SetServiceStatus(IntPtr serviceStatusH
andle, SERVICE_STATUS* status)
   at System.ServiceProcess.ServiceBase.DeferredStop()
   at System.ServiceProcess.ServiceBase.Stop()
   at Microsoft.WebSolutionsPlatform.Event.Program.Main(String[] args) in c:\msn
\WspEventSystem\dev\src\v2.0\Router\Program.cs:line 26