469,306 Members | 1,587 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

The [Service Name] service terminated unexpectedly.

Hi,

I receive this error in the System Event Log?

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7031
Date: 15/08/2005
Time: 22:22:32
User: N/A
Computer: [Computer Name]
Description:
The [Service Name] service terminated unexpectedly. It has done this 2
time(s). The following corrective action will be taken in 0 milliseconds: No
action.

The same version of code runs fine on other servers and my local pc.

My service writes to it's own event log and audit log files, reporting
errors, etc. This log looks fine, no errors.

The system has developed over time so the error handling should be quite
robust. I can't understand why an error is not reported. (.net runtime
error?)

Does anyone know of a tool I can use that will monitor the service and give
me information as to why it has crashed?

The system is too big to explain what the service does and all the rest of
the applications that are called off the back of it.

Aug 18 '05 #1
2 10212
lb
Hi Shads,

We have the same problem over here.
The only thing I can add is that it looks like to happen when the
foreground user loggs off.

Anyone has an idear?

Leon.

Shads schreef:
Hi,

I receive this error in the System Event Log?

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7031
Date: 15/08/2005
Time: 22:22:32
User: N/A
Computer: [Computer Name]
Description:
The [Service Name] service terminated unexpectedly. It has done this 2
time(s). The following corrective action will be taken in 0 milliseconds: No
action.

The same version of code runs fine on other servers and my local pc.

My service writes to it's own event log and audit log files, reporting
errors, etc. This log looks fine, no errors.

The system has developed over time so the error handling should be quite
robust. I can't understand why an error is not reported. (.net runtime
error?)

Does anyone know of a tool I can use that will monitor the service and give
me information as to why it has crashed?

The system is too big to explain what the service does and all the rest of
the applications that are called off the back of it.


Sep 1 '05 #2
Hi Leon,

I have investigated this further using WinDebug it looks like the system is
running out of memory. Objects that are not disposed are sitting waiting to
be finalized and the GC is not kicking in quick enough. GC kicks in based on
an algorithm of CPU and Memory. It seems neither of these ever get low
enough for the GC to fire and release the memory.

We now have the job of making sure everything calls the dispose method.

"lb" wrote:
Hi Shads,

We have the same problem over here.
The only thing I can add is that it looks like to happen when the
foreground user loggs off.

Anyone has an idear?

Leon.

Shads schreef:
Hi,

I receive this error in the System Event Log?

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7031
Date: 15/08/2005
Time: 22:22:32
User: N/A
Computer: [Computer Name]
Description:
The [Service Name] service terminated unexpectedly. It has done this 2
time(s). The following corrective action will be taken in 0 milliseconds: No
action.

The same version of code runs fine on other servers and my local pc.

My service writes to it's own event log and audit log files, reporting
errors, etc. This log looks fine, no errors.

The system has developed over time so the error handling should be quite
robust. I can't understand why an error is not reported. (.net runtime
error?)

Does anyone know of a tool I can use that will monitor the service and give
me information as to why it has crashed?

The system is too big to explain what the service does and all the rest of
the applications that are called off the back of it.


Sep 1 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Graham Siener | last post: by
6 posts views Thread by =?Utf-8?B?THVib21pcg==?= | last post: by
1 post views Thread by =?Utf-8?B?R3V5IENvaGVu?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.