title: Windows Service Start Failure for self hosted SignalR
body: <p>Really trying to figure out how to install a SignalR Self Host windows service. It's my first attempt with a windows service and it's driving me bonkers. After many failed attempts, I really could do with some help. I'm using cmd in a windows server 2012 environment.</p>
  
  <p>The error in a traditional win popup:</p>
  
  <blockquote>
    <p>Cannot start service from the command line or debugger. A windows
    Service must first be installed(using installutil.exe) and then
    started with the ServerExplorer, Windows Services Administrative tool
    or the NET START command.</p>
  </blockquote>
  
  <p>I know this has been raised a few times on SO but no other posts seems to help.</p>
  
  <p>My command to install:</p>
  
  <blockquote>
    <p>C:\Windows\Microsoft.NET\Framework\v4.0.30319 InstallUtil.exe
    C:\SignalRService\bin\Debug\RW.WinServ.exe</p>
  </blockquote>
  
  <p>This is not installing what so ever and I originally thought, it must of installed so I'll go an start the service but no service found.</p>
  
  <p>I have two versions of the windows service I'm trying to install/start my own version and an example taken from Microsoft, neither work.</p>
  
  <p><a href="https://code.msdn.microsoft.com/windowsapps/SignalR-self-hosted-in-6ff7e6c3" rel="nofollow">https://code.msdn.microsoft.com/windowsapps/SignalR-self-hosted-in-6ff7e6c3</a></p>
  
  <p>I hope enough information has been supplied to help me diagnose the problem. If any code is required then please give me a shout. But again even with the source code from the above link, I cannot get this to work. So I'm leaning towards my environment not being properly configured.</p>
  
  <p>Any help greatly appreciated!</p>
  
  <p>Regards,</p>