Hi,
I am getting a error when I try to start a Windows Service. The error is
"The XYZ service on local computer started and then stopped.Some services
stop automatically if they have no work to do,for example, the performance
logs and alerts service."
I don't know why it is throwing such a error. kindly advise.
Thanks in Advance.
Regards,
Karthi 9 15611
Hi,
this is probably an exception occuring because you don't run the service
under the proper user account
regards
Régis Baccaro
"Karthikeyan.T. S" wrote:
Hi,
I am getting a error when I try to start a Windows Service. The error is
"The XYZ service on local computer started and then stopped.Some services
stop automatically if they have no work to do,for example, the performance
logs and alerts service."
I don't know why it is throwing such a error. kindly advise.
Thanks in Advance.
Regards,
Karthi
Hi,
Thanks for your reply.
Do you mean that we should login as a administrator or ...?
Kindly advise what to do.
Regards,
Karthi
"Régis Baccaro" wrote:
Hi,
this is probably an exception occuring because you don't run the service
under the proper user account
regards
Régis Baccaro
"Karthikeyan.T. S" wrote:
Hi,
I am getting a error when I try to start a Windows Service. The error is
"The XYZ service on local computer started and then stopped.Some services
stop automatically if they have no work to do,for example, the performance
logs and alerts service."
I don't know why it is throwing such a error. kindly advise.
Thanks in Advance.
Regards,
Karthi
Hi,
for test purposes it's ok to use an administrator account, but in the real
world it's better with a dedicated service user with only the required
permissions.
-rgrds
Régis Baccaro
"Karthikeyan.T. S" wrote:
Hi,
Thanks for your reply.
Do you mean that we should login as a administrator or ...?
Kindly advise what to do.
Regards,
Karthi
"Régis Baccaro" wrote:
Hi,
this is probably an exception occuring because you don't run the service
under the proper user account
regards
Régis Baccaro
"Karthikeyan.T. S" wrote:
Hi,
>
I am getting a error when I try to start a Windows Service. The error is
"The XYZ service on local computer started and then stopped.Some services
stop automatically if they have no work to do,for example, the performance
logs and alerts service."
I don't know why it is throwing such a error. kindly advise.
Thanks in Advance.
>
Regards,
Karthi
>
Hi Karthi
The user account needs to be able to log on as service. See the below
link for a step by step on how to do this. http://publib.boulder.ibm.com/infoce...p/msr10034.htm
On Mon, 04 Sep 2006 11:02:01 +0200, Karthikeyan.T.S
<Ka***********@ discussions.mic rosoft.comwrote :
Hi,
Thanks for your reply.
Do you mean that we should login as a administrator or ...?
Kindly advise what to do.
Regards,
Karthi
"Régis Baccaro" wrote:
>Hi,
this is probably an exception occuring because you don't run the service under the proper user account
regards
Régis Baccaro
"Karthikeyan.T .S" wrote:
Hi,
I am getting a error when I try to start a Windows Service. The error
is
"The XYZ service on local computer started and then stopped.Some
services
stop automatically if they have no work to do,for example, the
performance
logs and alerts service."
I don't know why it is throwing such a error. kindly advise.
Thanks in Advance.
Regards,
Karthi
--
Happy Coding!
Morten Wennevik [C# MVP]
Hi Morten,
Thanks for your reply. I have done all the steps mentioned in that link. But
I am still getting the error. What to do next ?
Regards,
Karthi
"Morten Wennevik" wrote:
Hi Karthi
The user account needs to be able to log on as service. See the below
link for a step by step on how to do this.
http://publib.boulder.ibm.com/infoce...p/msr10034.htm
On Mon, 04 Sep 2006 11:02:01 +0200, Karthikeyan.T.S
<Ka***********@ discussions.mic rosoft.comwrote :
Hi,
Thanks for your reply.
Do you mean that we should login as a administrator or ...?
Kindly advise what to do.
Regards,
Karthi
"Régis Baccaro" wrote:
Hi,
this is probably an exception occuring because you don't run the service
under the proper user account
regards
Régis Baccaro
"Karthikeyan.T. S" wrote:
Hi,
I am getting a error when I try to start a Windows Service. The error
is
"The XYZ service on local computer started and then stopped.Some
services
stop automatically if they have no work to do,for example, the
performance
logs and alerts service."
I don't know why it is throwing such a error. kindly advise.
Thanks in Advance.
Regards,
Karthi
--
Happy Coding!
Morten Wennevik [C# MVP]
Hi Régis Baccaro,
I am already using Admin user account. Kindly advise.
Regards,
Karthi
"Régis Baccaro" wrote:
Hi,
for test purposes it's ok to use an administrator account, but in the real
world it's better with a dedicated service user with only the required
permissions.
-rgrds
Régis Baccaro
"Karthikeyan.T. S" wrote:
Hi,
Thanks for your reply.
Do you mean that we should login as a administrator or ...?
Kindly advise what to do.
Regards,
Karthi
"Régis Baccaro" wrote:
Hi,
>
this is probably an exception occuring because you don't run the service
under the proper user account
>
regards
>
Régis Baccaro
>
"Karthikeyan.T. S" wrote:
>
Hi,
I am getting a error when I try to start a Windows Service. The error is
"The XYZ service on local computer started and then stopped.Some services
stop automatically if they have no work to do,for example, the performance
logs and alerts service."
I don't know why it is throwing such a error. kindly advise.
Thanks in Advance.
Regards,
Karthi
Something in your service is probably crashing. You need to implement
some logging to track it down.
On Mon, 04 Sep 2006 11:52:01 +0200, Karthikeyan.T.S
<Ka***********@ discussions.mic rosoft.comwrote :
Hi Morten,
Thanks for your reply. I have done all the steps mentioned in that link.
But
I am still getting the error. What to do next ?
Regards,
Karthi
"Morten Wennevik" wrote:
>Hi Karthi
The user account needs to be able to log on as service. See the below link for a step by step on how to do this.
http://publib.boulder.ibm.com/infoce...p/msr10034.htm On Mon, 04 Sep 2006 11:02:01 +0200, Karthikeyan.T.S <Ka*********** @discussions.mi crosoft.comwrot e:
Hi,
Thanks for your reply.
Do you mean that we should login as a administrator or ...?
Kindly advise what to do.
Regards,
Karthi
"Régis Baccaro" wrote:
Hi,
this is probably an exception occuring because you don't run the
service
>under the proper user account
regards
Régis Baccaro
"Karthikeyan.T .S" wrote:
Hi,
I am getting a error when I try to start a Windows Service. The
error
>is
"The XYZ service on local computer started and then stopped.Some services
stop automatically if they have no work to do,for example, the performance
logs and alerts service."
I don't know why it is throwing such a error. kindly advise.
Thanks in Advance.
Regards,
Karthi
-- Happy Coding! Morten Wennevik [C# MVP]
--
Happy Coding!
Morten Wennevik [C# MVP]
You'll see this message if your service has code that causes it to go away
soon after it starts. If Windows starts a service and then sees it go away
quickly you'll see this. The service doesn't have to be crashing. I had a
service that started up and immediately went away because it had no work to
do - I had to make it wait for 20 seconds or so before stopping itself.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer http://apress.com/book/bookDisplay.html?bID=280
"Karthikeyan.T. S" <Ka***********@ discussions.mic rosoft.comwrote in message
news:A0******** *************** ***********@mic rosoft.com...
Hi,
I am getting a error when I try to start a Windows Service. The error is
"The XYZ service on local computer started and then stopped.Some services
stop automatically if they have no work to do,for example, the performance
logs and alerts service."
I don't know why it is throwing such a error. kindly advise.
Thanks in Advance.
Regards,
Karthi
Hi,
Karthi.. this error msg. can be a because of so many reasons.
One thing for sure, can be..mayb ur data base connection coudnt be
established.
Mayb some other problem with ur Service say ur writing to a log-file
which is already closed/not opened at all.
You can view that in the Event viewer (under compmgmt.msc) or have some
log-files to track this down. Log-files are the best way to debug a WIN
Service.
Pls chk this. n mail me if still u get this prob.
Karthikeyan.T.S wrote:
Hi,
I am getting a error when I try to start a Windows Service. The error is
"The XYZ service on local computer started and then stopped.Some services
stop automatically if they have no work to do,for example, the performance
logs and alerts service."
I don't know why it is throwing such a error. kindly advise.
Thanks in Advance.
Regards,
Karthi
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: B Golash |
last post by:
Hi
I`m trying to install a third-party control. During
the install I receive this error...see the url below.
I have no idea as to the meaning of the error.
www.woodsolutions.com/download/ErrorLoadComp.jpg
|
by: Jagdeesh |
last post by:
Hai Colleagues,
I am using Tomcat 4.1.24 and JDK 1.4.0_03 in my winXP machine. I've
transferred a set of folders(containing jsp files) into tomcat's
webapps directory(to /webapps/bob , /webapps/sue) and i have added the
folders bob, sue in my server.xml(in the context path).
When i am trying to run jsp files from my browser, it works fine. But,
the following jsp files reports some exceptions which is quite hard to
understand. Here is...
|
by: Richard Steele |
last post by:
I have created a WinForm application that needs to be run as a windows
service (the PC is inaccesible by any user) i have successfully installed the
application as a windows service. When i start the service, i get the
following error
Error 1053: The service did not respond to the start or control request in a
timely fashion
1. Is there anyway to extend the timeout period.? I use timed threads to
load a serial device driver and this...
|
by: Chris |
last post by:
I posted this in the C# language group, then thought it
might be more appropriate in this group. I would not
cross-post except I want the answer so badly.
I built small C# Web and Web Service applications in a
training class last week. The applications worked in the
class, but when I tried to run them again over the
weekend, they both bombed. Instead of getting my Web
page, or the Web Service page, I get a page full of error
text...
|
by: Wolfgang Kaml |
last post by:
I am not sure if this is more of an expert question, but I am sure that they
are out there.
I'd like to setup a general application or bin directory on my Win2003.Net
Server that will hold some useful utils that more pages on that server can
use.
As an example, I have created a Page Counter class that opens an Access .mdb
file, counts the current entries for that page, and adds a new entry with
some information regarding the current...
| |
by: coosa |
last post by:
Hi,
I was installing SQL Server on my machine and during installation my PC
freezed. It happens frequently on my machine. So i tried after
restarting to install it again and since then i always get the same
error message:
"An error occurred while creating one or more registry entries. Please
see C:\WINDOWS\sqlstp.log for details. The problem could be caused by a
low registry quota condition"
I have tried to clean the registry and i...
|
by: Kevin D. |
last post by:
Please note, I already posted this on the MySQL official forum, but received
no response. I thought I'd try again in another location. My apologies to
anyone reading this twice...
Despite everything I've tried, I cannot get MySQL to start as a Windows
service. However, I AM able to get it started via the mysqld-nt --console
command.
Here is my (funky) setup:
|
by: Jason Richmeier |
last post by:
I am sure this has been asked at least once before but I could not find
anything when searching.
If I set the value of the ExitCode property to 1066 for a windows service,
the text "A service specific error occured: 0." How do I (if it is possible)
change the value of the zero to something custom (like a "look in the event
log for further information" message)?
Thank you,
|
by: =?Utf-8?B?cm9zczYxMw==?= |
last post by:
I'm puzzled by an error message encountered while creating a Windows Service.
In particular, I'm creating a second Windows Service within a Windows
Service project, using Visual Studio 2005. The first service works fine.
The second service appears to be registered correctly; yet I get the "System
error 1083 has occurred." doing a "NET START ServiceName" in the DOS window
along with:
"The executable program that this service is...
|
by: Frinavale |
last post by:
I thought it would be nice to share the solution to my IIS headache with the rest of the world.
I have developed a web application that has been distributed. Upon installing my application, some people encountered a "500 Internal Error" and of course blamed my software immediately (and got frustrated when uninstalling/reinstalling my software didn't fix the problem). Finally I was able to take a look at one of these computers and discovered...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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...
|
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,...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |