title: Starting a windows service fails with error 1053
body: <p>I have a windows service that is failing to start, giving an error "Error 1053: The service did not respond to the start or control request in a  timely fashion".</p>
  
  <p>Running the service in my debugger works fine, and if I double click on the the service .exe on the remote machine a console window pops up and continues to run without problem - I can even see log messages showing me that the program is processing everything the way it should be.  </p>
  
  <p>The service had been running fine previously, though this is my first time, personally, trying to deploy it with the most recent changes made to the program.  I've evaluated those changes and cant figure out how they might cause this problem, particuarly since everything runs fine when not started as a service.</p>
  
  <p>The StartRoutine() method of the service impelmentation is empty, so should be returning in a "timely fashion".  </p>
  
  <p>I've checked the event logs on the computer, and it doesn't give any additional information other than it didn't hear back from the service in the 30 second requisite time frame.</p>
  
  <p>Since it works on my machine, and as a double-clicked executable, how would I go about figuring out why it fails as a service?</p>
  
  <p>Oh, and it's .NET 2.0, so it shouldn't be affected by the 1.1 framework bug that exhibited this symptom (<a href="http://support.microsoft.com/kb/839174" rel="noreferrer">http://support.microsoft.com/kb/839174</a>)</p>
  
  <p>The box is a windows server 2003 R2 machine running SP2.</p>