开发者

My .Net app needs local admin rights to run. Why?

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 fo开发者_运维技巧r the help!


Run the app as a limited user, and check the call stacks of the exceptions you get.


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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜