TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kalyan Vedantam
NA
109
39.3k
How to Impersonate local system account in c#
May 10 2009 9:40 PM
I am trying to start/stop a windows service in the code from a web application.The web application runs as IUSR_ComputerName, but this account does not have enough access rights to star/stop the service.
How do I impersonate the local system account, so that I can stop/start the service?
Reply
Answers (
2
)
The thread 0x1988 has exited with code 0 (0x0).
unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.