title: writing files to Common Application Data folder denied
body: <p>i have used the follwing function to write data to user application folder</p>
  
  <pre><code>private void WriteToLog(string source, string method, string msg)
  {
  
   string LogFile =Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + "\\test";            
   LogFile = LogFile + "\\Log.txt";
   StreamWriter sw = new StreamWriter(LogFile, true );
   string str = DateTime.Now.ToString() + "source=" + source + "\t Method=" + method + "\t" + msg;
  sw.WriteLine(str);
  sw.Flush();
  sw.Close();
  }
  </code></pre>
  
  <p>the above code working perfectly in administrator accounts, but failed in limited user accounts</p>