Join the Stack Overflow Community
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

I have a MVC application in asp.net MVC 3.0, i need to start and stop a service which is nothing but file processing service and made by us , i have added 2 button for toggle the service status , start and stop but getting exception , can not open my service ,

Any one has any idea how to handle this? and also sample code are welcome , i have tried identity on web config along with my user id and password but it's does not work for me :(,

Guys please help me..

share|improve this question
    
What is the code you are using to control the service? – HackedByChinese Dec 18 '12 at 14:03
    
I bet on a permission issue. Is your asp.net process identity allowed to control services? – Steve B Dec 18 '12 at 14:06
    
What exception do you get? – Matt Dec 18 '12 at 14:11
    
What does "can not open my service" mean? What have you tried and what is the result? – Bob Horn Dec 18 '12 at 14:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.