Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Developing Windows Services
Subject:   Error 1053: The service did not respond to the start or control request in a timely fashion.
Date:   2004-12-09 09:49:51
From:   sekaran
Hi,


Developed a windows services. Successfully installed and started manually fine. When i tried to stop it gives the following error.


Error 1053: The service did not respond to the start or control request in a timely fashion.


Microsoft website advised to install service pack 1 to solve the problem. But it didn't.


I thought that the account informations may cause the error. So i just copied the source for your reference.


this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
this.serviceProcessInstaller1.Password = "somthing";
this.serviceProcessInstaller1.Username = "RAJNEW\\raj";


RAJNEW is my computer name
raj is username



Is there anything am i doing wrong?



Any help would be appreciated.



Thanks,
Raj.