I am making a Windows service application using the C# .Net framework.
I have installed the setup and when I try to start my service from the Services in the Administrative tools in control panel, I get the following error:
JIT Debugging failed with the following error: Access is denied.
JIT Debugging was initiated by the user account 'NT AUTHORITY/LOCAL SERVICE'.
Please give me any clues how to debug the JIT error.
Thank you.
Under your service's properties, go to the log on tab and try logging on with your current user account, then try starting the service. Also make sure your account is part of the Debugger Users account. I'm guessing that you're getting an access denied error on the service because the NT AUTHORITY accounts tend to be much more powerful than the user ones and perhaps it doesn't. However, this is only a guess, so treat it as such. :)