title: C#: Simple Windows Service gives Security Exception
body: <p>I am doing the walkthrough in the following link:
  <a href="http://msdn.microsoft.com/en-us/library/zt39148a%28VS.80%29.aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/library/zt39148a%28VS.80%29.aspx</a></p>
  
  <p>I have followed it exactly, line by line. I installed the service successfully, however, when I try to run it, the following error message appears:</p>
  
  <p>"An unhandled exception ("System.Security.SecurityException') occurred in MyNewService.Exe [5292].</p>
  
  <p>I have seen that for many people it works, but some people get this exception, though I could not find an answer. Does anyone have an idea? Thanks.</p>