title: UnauthorizedAccessException when writing text file to C:\ on Windows 7
body: <p>I have recently moved to Windows 7. Now my .NET application fails writing log file to C:\</p>
  
  <p>My TraceListener is throwing the exception.</p>
  
  <pre><code>A first chance exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll
  </code></pre>
  
  <p>What to do? I am running application from the studio and so I think it must inherit all my rights and I am the admin on my pc. </p>