Click here to Skip to main content
15,890,399 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello Guys,
i have a windows services for file processing and it related to my asp.net mvc application [3.0], i need to start and stop service from web UI, i have tried it's get errors and also tried identity along with my authentication [my account is an admin account] , but error remain.

Please help me on this , sample code will be great.

thanks and regards
Tanmay Mandal
Posted
Comments
Zoltán Zörgő 18-Dec-12 9:10am    
And what error you got exactly? And what is the code you are using to start or stop the service? And how exactly did you impersonate the user having the right to manipulate the service? Btw, you can grant rights to any user on any service.

 
Share this answer
 
Comments
Espen Harlinn 18-Dec-12 9:17am    
Nice links :-D
Thomas Daniels 18-Dec-12 9:18am    
Thank you!
 
Share this answer
 
Comments
Espen Harlinn 18-Dec-12 9:18am    
Nice links :-D
[no name] 18-Dec-12 9:28am    
Thank you... :)

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