HELP! VB.net Service error: "Could not start service on local computer. Error 1053: The service did

M

mrwoopey

Hi,

I created a sample vb.net service following the exact steps outline
in:

http://www.developerfusion.com/show/3441/2/

But when I start the service I receive the following error:

"Could not start the MyService service on Local Computer. Error 1053:
The service did not respond to the start or control request in a
timely fashion."

Does anybody have a solution (I didn't see any posted) to get this
service to run? Do the sample listed in the above URL (it will take a
couple of minutes) and let me know what I am missing.

Thanks,

Phin
 
M

mrwoopey

Hi,

I saw another post that said that it is a bug in the framework. If you
clear your application log the service should start (it did for me).
Windows Services made in .net can't start if the application log is
full.

Phin
 
C

Chris Dunaway

(e-mail address removed) (mrwoopey) wrote in
Hi,

I saw another post that said that it is a bug in the framework. If you
clear your application log the service should start (it did for me).
Windows Services made in .net can't start if the application log is
full.

I always set the properties of the logs to "Overwrite as needed". I think
in a normal desktop app, if you attempt to write to the log when it is
full, it will pop up a message box telling you the log is full. You then
click OK and the app continues.

I think with a service app, it does the same thing, but since it doesn't
interact with the desktop, the "message box" is popped but not visible and
therefore the OK button cannot be clicked. The app then seems to stop.

Changing the log property of the application log to allow overwriting of
events has always fixed that problem for me.

Chris
 
Joined
Aug 21, 2008
Messages
1
Reaction score
0
Hi fellows,

Even Im getting the same error when Im trying to start an Vb.NET windows services from Admin tools -> services. First it was working fine. it was automatically starting when the system rebooted.. Even after I had made some changes to the application code, I was able to debug the code few times. Then suddenly i started getting this error.

From then Im stuck with this... I have uninstalled and re-installed the same service, restarted my system... nothing is working...

lot of free space is there in C drive
Kindly help me resolve this issue...

Thanks in advance..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top