Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Team,

I am trying to run windows service which has written in c#.While i try to start the service once i install in my system i am getting the following error message

[Window Title]
Visual Studio Just-In-Time Debugger

[Main Instruction]
An unhandled exception ('System.Security.SecurityException') occurred in FonterraService.exe [4412].

The Just-In-Time debugger was launched without necessary security permissions. To debug this process, the Just-In-Time debugger must be run as an Administrator. Would you like to debug this process?

[V] View process details [Yes, debug FonterraService.exe] [No, cancel debugging]

[Expanded Information]
Process Name: FonterraService.exe
User Name: LOCAL SERVICE

Please help me out.
Posted

The error tells you the problem, there are two actually:
1. you've installed the service in debug mode instead of release
2. the account under which you're running it has no rights to debug (or maybe even start) the service.

Cheers
 
Share this answer
 
Hi Sinisa Hajnal,

Thanks for your reply.Have a great day.:)
 
Share this answer
 
Comments
BillWoodruff 18-Nov-14 3:46am    
Please post comments to someone who answered your question as a comment on their solution, not, as you do here, as a "solution."

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900