473,383 Members | 1,870 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,383 software developers and data experts.

Error in windows service: The service did not respond to the start or control request

Hello everyone!

We're running a windows service application and it gets this error: "the service did not respond to the start or control request in a timely fashion".

It works in most machines but for these 2 other machines (from our consultant & client), one is running on WinXP and the other is Windows Server 2003, the application doesn't seem to run.

In addition to this, the WinServer2003 machine logs this error in the System event log (not sure if this is the same error from other machine): "Timeout (30000 milliseconds) waiting for the <application> service to connect."

Meanwhile, when we checked the WinXP machine, it has 100% CPU usage while the service is being run. This is not the case for the other machines where our service is working successfully.

I am thinking of the following reasons / possible ways to verify why this happens:

- .NET framework service pack is not latest (although we've checked both machines and they have the latest SP) :|

- The other services that our application depends on is not started before we start our service

- Since we are getting data from the SQL database, there is a permissions issue with SQL Server (either with how it is installed or the permissions for the database itself

- The machine cannot handle the service (depending on its specs)

I am asking our test team to adjust the time-out period, just in case it needs more time to execute -- this is still ongoing but I'll give feedback here as soon as it is finished as well.

I would really appreciate it if anyone can give me any insights on this issue. Thanks a lot! :)
Jan 25 '08 #1
1 1978
debasisdas
8,127 Expert 4TB
I think you are on the right path to solve that issue .
Jan 25 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: mtc | last post by:
I'm able to install and run a service I built on two machines - the one I built it on and another that has visual studio installed. I've installed it without problems on 3 other machines that...
6
by: Ashwin Kambli | last post by:
Hi, I am trying to write a Windows Service application using C#. I wrote a very trivial example (logs messages during Start and Stop events to the evenlog). I have no problem installing it (using...
5
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...
1
by: Prasad | last post by:
Hi, I am writing a service which takes a long time to stop after the OnStop call is given by the Services Snap-in. The problem is I cannot cut down on the time that it takes to Stop. The Service...
1
by: magnus.s.olsson | last post by:
I have got a Windows Service application from a customer that I try to start. The customer can start it with no problem, but when I try to start it I get: "Could not start the GateWay service on...
2
by: tshad | last post by:
I have a Service that starts a thread that never ends. When I stop the service from the Service Applet, does it kill the thread or do I need to do it myself? If it isn't killed, what happens...
0
by: daniel kumar | last post by:
Hi this is Daniel Kumar, I installed oracle apps11i in my system on windows enterprise 2003 edition about one week back, at that time it working properly. today when i start my computer...
7
by: =?Utf-8?B?Sm9obi5ORVQ=?= | last post by:
Hi I have written a windows service in C# / .NET I have installed it and it's working fine on a couple boxes but on my XP box I get this error when I try to start it: Error 1053: The service did...
4
by: rottmanj | last post by:
I have written an application that installs a service and then is supposed to start the service. Everything works great except for the service starting(either with AfterIntall or starting it from the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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...

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.