Windows 2008 R2 Enterprise Error 1053
Hi I am using Windows 2008 R2 Enterprise on a VPS , I am installing a windows service that hosts a WCF service inside it.
I am getting Error 1053 when I try to start the service, I checked the event viewer, I can only see
"Service service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion."
This same service run well on Win 7 Ultimate 64 bit
I wrapped the service logic in a console application and installed it on my VPS, and I was able to run the service logic.
I have checked many forms,
- I tried setting th ServicesPipeTimeout to 60000 in registry, and no effect
- I used service this.RequestAdditionalTime(60000 ), and no change
- I tried setting the service user to administrator user rather than local system, and no change
- The service logic does not start directly, I use a thread timer, to start service in code after 1 minute, and again no change
- How can I remove the 30 seconds time out, or resolve this issue. on Windows 2008 R2 Enterprise ?
Thank you in advanced.
Scientist
September 27th, 2010 5:26pm
I'd ask them here.
http://social.msdn.microsoft.com/Forums/en-US/wcf/threads
Regards, Dave Patrick .... Microsoft Certified Professional -Microsoft MVP [Windows]
Free Windows Admin Tool Kit Click here and download it now
September 27th, 2010 5:36pm
Ok,
Do you know how I can change the Windows 2008 R2 Enterprise Services Timeout ?
Scientist
September 28th, 2010 5:17am
This article may help.
How to debug Windows services
http://support.microsoft.com/kb/824344
Regards, Dave Patrick .... Microsoft Certified Professional -Microsoft MVP [Windows]
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2010 5:27am
I am applying the following registry setting on my server, through remote desktop, but it is not taking effect
In Registry Editor, locate, and then right-click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
Point to New, and then click DWORD Value. In the right pane of Registry Editor, notice that New Value #1 (the name of a new registry entry) is selected
for editing. Type ServicesPipeTimeout to replace New Value #1, and then press ENTER.
Right-click the ServicesPipeTimeout registry entry that you created in step c, and then click Modify. The Edit DWORD Value dialog box appears.
In the Value data text box, type <var style="-webkit-box-sizing: border-box;">TimeoutPeriod</var>, and then click OK
Note <var style="-webkit-box-sizing: border-box;">TimeoutPeriod</var> is a placeholder for the value of the time-out period (in milliseconds) that you want to set for the service. For example, if you want to set the time-out
period to 24 hours (86400000 milliseconds), type 86400000.
Restart the computer. You must restart the computer for Service Control Manager to apply this change.
Scientist
September 28th, 2010 7:49am
Shouldn't matter but I'd try this at the console. Also have you rebooted?
Regards, Dave Patrick .... Microsoft Certified Professional -Microsoft MVP [Windows]
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2010 11:28pm