473,406 Members | 2,217 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,406 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 10436
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.