Inner exception: The event log file is full: The service instance will remain suspended until administratively resumed or terminated

Posted: May 12, 2011 in BizTalk
Tags: ,

In the past, while testing with large volume of messages in a lab environment in one of my client machines, the processes started to get suspended with the following error:

Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘MyAssembley.Orchestrations.Service (6dbc699a-a109-9141-f05e-444b065a1a09)’.
The service instance will remain suspended until administratively resumed or terminated. If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: 514f5f29-f720-44d9-8f9e-3750734ca380
Shape name: Response Error Construct Msg
ShapeId: 3dbb377a-e842-426d-b162-405d8d87f093
Exception thrown from: segment 3, progress 3
Inner exception: The event log file is full

Exception type: Win32Exception
Source: System
Target Site: Void InternalWriteEvent(UInt32, UInt16, System.Diagnostics.EventLogEntryType, System.String[], Byte[], System.String)
The following is a stack trace that identifies the location where the exception occurred at System.Diagnostics.EventLog.InternalWriteEvent(…) 

CAUSE

The event viewer is not properly configured and it reached to the maximum limit of the log file. This causes that when we tried to write in EV he throws this type of exception.

SOLUTION

Configure the event in question with the following settings:

  • Maximum log size (Kb): 20489 – that is 20 MB, which gives us a comfortable historic of events
  • And the option “Overwrite events as needed (oldest events first)” is select, with this option we prevent that the log to exceed its limits, avoiding this king of errors.

Tags: BizTalk | Errors and Warnings, Causes and Solutions

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s