windows service startup timeout

I agree with Romulo on finishing to start your service as soon as possible. However, if you need the time and you are using .NET Framework 2.0 or later, you might consider ServiceBase.RequestAdditionalTime() method. http://msdn.microsoft.com/en-us/library/system.serviceprocess.servicebase.requestadditionaltime.aspx protected override void OnStart() { this.RequestAdditionalTime(10000); // do your stuff }

How to install and start a Windows Service using WiX

The following code works for me… no need to prompt for username/password 🙂 <File Id=’JobServiceEXE’ Name=”JobService.exe” DiskId=’1′ Source=”JobService.exe” KeyPath=”yes”/> <ServiceInstall Id=”ServiceInstaller” Type=”ownProcess” Name=”JobService” DisplayName=”123 Co. JobService” Description=”Monitoring and management Jobs” Start=”auto” Account=”[SERVICEACCOUNT]” Password=”[SERVICEPASSWORD]” ErrorControl=”normal” /> <ServiceControl Id=”StartService” Start=”install” Stop=”both” Remove=”uninstall” Name=”JobService” Wait=”yes” /> </Component>

Start / Stop a Windows Service from a non-Administrator user account

Below I have put together everything I learned about Starting/Stopping a Windows Service from a non-Admin user account, if anyone needs to know. Primarily, there are two ways in which to Start / Stop a Windows Service. 1. Directly accessing the service through logon Windows user account. 2. Accessing the service through IIS using Network … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)