Reputation: 13516
I wrote a WinForms app using .Net and C#. The app accesses DirectoryServices and SQL databases.
The new Win7 workplaces are not allowed to have local admin users and this app will not run.
How can I identify the actions in the app which need local admin rights?
SOLUTION The problem was caused by trying to write to the event log. This was just a nice-to-have so it's gone now. Thanks for the help!
Upvotes: 1
Views: 504
Reputation: 13516
SOLUTION The problem was caused by trying to write to the event log. This was just a nice-to-have so it's gone now. Thanks for the help!
Upvotes: 1
Reputation: 887285
Run the app as a limited user, and check the call stacks of the exceptions you get.
Upvotes: 4