title: Webserver application permissions issue
body: <p>We have a .NET web application installed on our server at the location: <code>C:\Inetpub\fmtool\</code></p>
  
  <p>One of our utilities uploads a file to a subfolder of the installed directory. </p>
  
  <p>We create the folder structure for this uploaded file programmically to ensure the folder structures integrity. This works just fine. </p>
  
  <p>However during the actual file copy (using an asp file upload control) we get a permissions error saying access is denied.  </p>
  
  <p>I have ensured that the user-account running the application on the server has full control of the file system (in development of course) and we still get this access denied error. </p>
  
  <p>FileUpload seems straight forward:</p>
  
  <pre><code>fuiUpload.SaveAs(path);
  </code></pre>
  
  <p>Were "path" is pulled from the Web.Config</p>
  
  <pre><code>&lt;add key="ActualsImportPath" value="C:\Inetpub\fmtool\ActualsImport\Alpha"/&gt;
  </code></pre>
  
  <p>If we were running this local we would need the full qualified server information in the beginning correct?</p>
  
  <p>For example: </p>
  
  <pre><code>&lt;add key="ActualsImportPath" value="\\SERVER-NAME\c$\blah"/&gt;
  </code></pre>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>After inspecting my code. I found a glaring error.  I did not actually have the full "path" variable set at the time I was attempting to process the SaveAs(). A simple mistake caused so much trouble. Thank you all for the help. See code below if interested</p>
  
  <p>Before: </p>
  
  <pre><code>if (fuiUpload.HasFile)
  {
      // Did not have the complete path here.....
  fuiUpload.SaveAs(path);
  
  // Run the importer
  switch (rblImportType.SelectedValue)
  {
      case "0": 
      path += @"\Nightly Costing\" + DateTime.Now.ToString("yyyyMMdd") + "-NightlyCosting.csv";
      break;
  </code></pre>
  
  <p>After:</p>
  
  <pre><code>if (fuiUpload.HasFile)
  {
  // Run the importer
  switch (rblImportType.SelectedValue)
  {
      case "0": 
      path += @"\Nightly Costing\" + DateTime.Now.ToString("yyyyMMdd") + "-NightlyCosting.csv";
      fuiUpload.SaveAs(path);
      break;
  </code></pre>