title: save xml file results in System.UnauthorizedAccessException:
body: <p>I am trying to save xml to a certain location like this:</p>
  
  <pre><code>private void UpdateXMLFile(XElement xmlFeed,string xmlFileLocation)
  {
              xmlFeed.Save(xmlFileLocation);
  }
  </code></pre>
  
  <p>I have added SYSTEM, NETWORK SERVICE and Administrators all with all permissions to the folder I am saving in but I still get this error?</p>
  
  <pre><code>System.UnauthorizedAccessException Access to the path 'c:\temp\myfile.xml' is denied
  </code></pre>
  
  <p>I am using an asp.net 3.5 application (iis 7) to do this. The identity of the application is the 'ApplicatonPoolIdentity'</p>