C#: Simple Windows Service gives Security Exception

后端 未结 4 626
不思量自难忘°
不思量自难忘° 2021-02-13 13:43

I am doing the walkthrough in the following link: http://msdn.microsoft.com/en-us/library/zt39148a%28VS.80%29.aspx

I have followed it exactly, line by line. I installed

4条回答
  •  难免孤独
    2021-02-13 14:39

    Just a guess: Is your .exe file lying in a network folder? Or is is marked as "downloaded from the Internet"? Because, in that cases, the .NET Framework will assign less permissions to it than when it was directly on a local drive and not marked as downloaded from the internet.

提交回复
热议问题