title: FileStream Access Denied in ASP hosted web service
body: <p>I have the following</p>
  
  <pre><code>//get the data as a string.
   using (FileStream fs = File.Open(location, FileMode.Open))
   using (StreamReader reader = new StreamReader(fs))
   {
       rawData = reader.ReadToEnd();
   }
  </code></pre>
  
  <p>in the web config of the WCF host</p>
  
  <pre><code>&lt;authentication mode="Windows"/&gt;
  &lt;identity impersonate ="true"/&gt;
  </code></pre>
  
  <p>however i get this error</p>
  
  <p>Access to the path 'D:\some dir\rules.txt'</p>
  
  <p>The host in hosted in IIS 6, using a VirDir, with annon access account as me, and the rules.txt has full access from me.</p>
  
  <p>what im i missing. i have also given "everyone" access, yet no luck.</p>