Jump to content

Service terminates with "System.AccessViolationException"


Recommended Posts

Posted

This has happened to me a couple of times now. Totally randomly the service is terminated due to an unhandled exception.

Anyone have any input to help me resolve this?

Below is the Event Log entry.

Regards

Anders

Event Type: Error

Event Source: .NET Runtime

Event Category: None

Event ID: 1026

Date: 2011-10-18

Time: 12:23:34

User: N/A

Computer: ---

Description:

Application: PCMonitorSrv.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.AccessViolationException

Stack:

at System.DirectoryServices.Interop.UnsafeNativeMethods.IntADsOpenObject(System.String, System.String, System.String, Int32, System.Guid ByRef, System.Object ByRef)

at System.DirectoryServices.Interop.UnsafeNativeMethods.ADsOpenObject(System.String, System.String, System.String, Int32, System.Guid ByRef, System.Object ByRef)

at System.DirectoryServices.DirectoryEntry.Bind(Boolean)

at System.DirectoryServices.DirectoryEntry.Bind()

at System.DirectoryServices.DirectoryEntry.get_IsContainer()

at System.DirectoryServices.DirectoryEntries+ChildEnumerator..ctor(System.DirectoryServices.DirectoryEntry)

at MM.Monitor.Service.Configuration.Management.ADSI.IISADSIManager.()

at MM.Monitor.Service.Configuration.Management.ADSI.IISADSIManager.UpdateState()

at .()

at . ()

at .()

at .(System.Object, System.Timers.ElapsedEventArgs)

at System.Timers.Timer.MyTimerCallback(System.Object)

at System.Threading._TimerCallback.TimerCallback_Context(System.Object)

at System.Threading.ExecutionContext.runTryCode(System.Object)

at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)

at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)

at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

at System.Threading._TimerCallback.PerformTimerCallback(System.Object)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...