473,386 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 10432
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Bies | last post by:
HI I have server MSDE 2000 SP3 frequently server stopped, and print in log file information: 1) 17310 : SqlDumpExceptionHandler: Process 1984 generated fatal exception c0000005...
4
by: Graham Siener | last post by:
Hi All, I have a real confusion situation on my hands. I've written a windows service in c# that basically does archiving of data from one database to another. Along the way it parses one...
0
by: Boris | last post by:
I have a service developed in Visual C++ in "mixed mode" (originally developed as unmanaged under VS 6.0, and now uses managed FCL classes). I use FCL System.Messaging.MessageQueue and...
7
by: Ralf Gedrat | last post by:
Hello! I have some Vb.Net applications, which are terminated at indefinite times without message. If I call in the program regulated system.GC.Collect, then the program is terminated here...
2
by: Shads | last post by:
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
2
by: Ajit | last post by:
Is it possible to have a web service name in localized string. Let's say, can I have a web service developed in C# having class name in Japanese? I am trying to build a web service as follows ...
0
by: eldie | last post by:
Hi!! We are experiencing some problems with our db2 jdbc applet service (it chash unexpectedly). In the db2 logs we don't find nothing. In the windows event viewer we only see the following...
6
by: =?Utf-8?B?THVib21pcg==?= | last post by:
Hi, I would like to ask how can I with C# find out the service name on non-English Windows OS. Thanks, Lubomir
1
by: =?Utf-8?B?R3V5IENvaGVu?= | last post by:
Hi all I just wrote a service using vb2005 - service name MyFirstService I noticed that in the sub New() of the service class I have: Public Sub New() ' This call is required by the Windows...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.