472,789 Members | 1,063 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,789 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 10388
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: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.