NT AUTHORITY/LOCAL SERVICE

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. :)
 

發佈了36 篇原創文章 · 獲贊 1 · 訪問量 6萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章