Process is able to start interactively, but not via service start. Error displayed is ‘access denied’. In the event log it is below. ( Note: c:\projects\ does not exist on our Server 2019 instance). This is after following the build guide here: Deployment to Production Servers with C#, VB
Any help is appreciated.
Service cannot be started. System.IO.IOException: The handle is invalid.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.Console.set_Title(String value)
at compute.geometry.OwinSelfHost.Start(HostControl hctrl) in C:\projects\compute-rhino3d\src\compute.geometry\Program.cs:line 126
at Topshelf.Builders.ControlServiceBuilder`1.ControlServiceHandle.Start(HostControl hostControl)
at Topshelf.Runtime.Windows.WindowsServiceHost.OnStart(String args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)