Cant profile windows service using local service account
chrisdev
Posts: 2
I have to run my service under the local service account or the service crashes because it cannot write to the event log. when I start profiling it starts the service, but the gui still thinks its attempting to start the service and that's where it hangs, at the "starting application..." screen.
ConfigurableThreadPool thread] WARN RedGate.Profiler.Engine.Startup.Sessions.WindowsServiceSession - Could not get the original environment for the service. It may not be running, or it may be running as LOCAL SERVICE or NETWORK SERVICE.
how do I fix this?
ConfigurableThreadPool thread] WARN RedGate.Profiler.Engine.Startup.Sessions.WindowsServiceSession - Could not get the original environment for the service. It may not be running, or it may be running as LOCAL SERVICE or NETWORK SERVICE.
how do I fix this?
Comments
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\<your service name>\Environment