473,654 Members | 3,251 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.Net Service Error: Event ID 7031

I wrote a service in .Net 2.0 that is running on a 2003 server. Every once
in a while I get the following error:

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7031
Date: 8/11/2006
Time: 10:15:15 AM
User: N/A
Computer: <ServerName Here>
Description:
The <ServiceNameser vice terminated unexpectedly. It has done this 1
time(s). The following corrective action will be taken in 60000
milliseconds: Restart the service.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

My code logs messages to the Event View and to Text files. Most of my code
is wrapped in try{}catch(){} blocks. I can't seem to catch any error message.

Has anybody else got this 7031 error (and how did you resolve it)?

Maybe it's just a bug in my code that's causing it to terminate (?). The
service uses System.Timers.T imer() to "wake" up every couple of minutes to
perform some actions.

Any thoughts or comments would be appreciated.

Thanks,

Donald.
Aug 11 '06 #1
0 1332

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
4396
by: Beer | last post by:
Hello Everyone, We have been getting the EventID 7031 errors ever since we installed SP 3. We have been searching for any possible solution, but not much luck. We are running Windows 2000 server with IIS 5.0 (No indexing services installed), and SP4. Every now and then, we have the 7031 for IIS Admim, SMPT and WWW services stopped without any apparent reason. We noticed
0
1565
by: Peter Morton | last post by:
Hi.. we are running a webserver on IIS with a mysql backend. The mysql service shuts down extrememly frequently with an event log code 7031. Has anyone seen this before. Is it a configuration issue? If so any and all help would be greatly appreciated. Regards Peter S Morton
2
507
by: MatthewRoberts | last post by:
Howdy All, I have a Windows Service that often stops in its tracks with no exception and no explanation on our QA system. During testing on the development machine, it can handle any workload, and complete with no problems. Even during testing on another test machine, it can handle any workload, and complete with no problems. This behavior has been tested multiple times.
2
10474
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
4
15881
by: Keith | last post by:
I'm in the same boat as the fellow who posted this message back in August: Title : Windows Service, How does one make a service "fail" properly? Author : Ross Bennett Group : microsoft.public.dotnet.languages.csharp URL :...
5
1580
by: John | last post by:
Hi I am trying to get web reference to my first (!) web service which is on a remote host. I am getting the following error; Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application
1
2161
by: Kevin Raleigh | last post by:
I am trying to get a working knowledge of ASP but to do this I need to get my www service working. I tried starting it and nothing but this error message: The authentication service is unknown I actually have several error messages that I should fix, but for now can you point me in the right direction or give me some insight as to why this could happen?
4
3175
by: kkt49 | last post by:
# vim: et sw=4 ts=8 sts from wxPython.wx import * import sys, os, time import pywintypes import win32serviceutil import win32service import win32event import win32process
0
8290
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8708
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8489
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7307
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5622
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2716
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1596
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.