title: Quartz.net 2.2.3 - Unable to start windows service
body: <p>I'm currently trying to run a newly created webservice with Quartz.net 2.2.3 on my windows server. But I'm getting the following error:</p>
  
  <pre><code>Topshelf.Hosts.StartHost Error: 0 : The service failed to start., System.Invalid
  OperationException: Cannot start service QuartzTest on computer '.'. ---&gt; System
  .ComponentModel.Win32Exception: The service did not respond to the start or cont
  rol request in a timely fashion
     --- End of inner exception stack trace ---
     at System.ServiceProcess.ServiceController.Start(String[] args)
     at Topshelf.Runtime.Windows.WindowsHostEnvironment.StartService(String servic
  eName)
     at Topshelf.Hosts.StartHost.Run()
  </code></pre>
  
  <p>This is the configuration that I'm using:</p>
  
  <pre><code>quartz.scheduler.instanceName = ServerScheduler
  
  quartz.jobStore.type = Quartz.Impl.AdoJobStore.JobStoreTX, Quartz
  quartz.jobStore.useProperties = true
  quartz.jobStore.dataSource = default
  quartz.jobStore.driverDelegateType = Quartz.Impl.AdoJobStore.SqlServerDelegate, Quartz
  quartz.jobStore.tablePrefix = QRTZ_
  # if running MS SQL Server we need this
  quartz.jobStore.lockHandler.type = Quartz.Impl.AdoJobStore.UpdateLockRowSemaphore, Quartz
  
  quartz.dataSource.default.connectionString = {connectionstring}
  quartz.dataSource.default.provider = SqlServer-20
  
  # configure thread pool info
  quartz.threadPool.type = Quartz.Simpl.SimpleThreadPool, Quartz
  quartz.threadPool.threadCount = 1
  quartz.threadPool.threadPriority = Normal
  
  # job initialization plugin handles our xml reading, without it defaults are used --&gt;
  quartz.plugin.xml.type = Quartz.Plugin.Xml.JobInitializationPlugin, Quartz
  quartz.plugin.xml.fileNames = ~/quartz_jobs.xml
  
  # export this server to remoting context
  quartz.scheduler.exporter.type = Quartz.Simpl.RemotingSchedulerExporter, Quartz
  quartz.scheduler.exporter.port = 571
  quartz.scheduler.exporter.bindName = QuartzServerTest
  quartz.scheduler.exporter.channelType = tcp
  </code></pre>
  
  <p>I know that it's related to topshelf, but I don't know what to do.</p>
  
  <p>Thanks.</p>