Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys,

I have installed a Windows Service on Windows Server 2008 R2.I didn't face any error while installing the service.But when I try to run the service from task manager or services.msc , I
get the following error
"Error 1053: The service did not respond to the start or control request in a timely fashion"
Some people suggested me to set the time out in System registry by creating a DWORD variable by name "SERVICESPIPETIMEOUT" .But I'm still facing the same issue.
Posted
Comments
[no name] 5-Sep-13 10:14am    
Huh? Your service is not starting so what would setting a timeout accomplish? You need to debug your service and find out why it's not starting.
Sagar Devanahalli 5-Sep-13 10:27am    
The same service is working fine in another server.the only difference is the domain is different.
[no name] 5-Sep-13 10:38am    
Okay.... and? That does not mean that you do not have to debug your service find out why it is not starting.
Sagar Devanahalli 5-Sep-13 10:40am    
Can you tell me How can I attach the process to debug if its failing to start?
[no name] 5-Sep-13 10:43am    
http://msdn.microsoft.com/en-us/library/7a50syb3.aspx

1 solution

System.Diagnostics.EventLog.CreateEventSource - The first 8 characters of the log name specified in CreateEventSource are not unique may be.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900