Permission issue on server (file i/o write issue)
<p>There is a application that uploads zip file and extracts it in Temp folder located under application folder and then copies these extracted file to some different target location and deleted these temporary extracted files from Temp folder.
<em>Everything works fine on my local machine on IIS but when i place the same code on server machine it give <strong>File I/O permission</strong> error ,even though i have given full <strong>access permission to Temp and Target location Folder</strong>.</em>
Can anyone help me on this??  </p>

<p>Here is the same code</p>

<pre><code> string path = Server.MapPath("~/UploadedZipFiles/" + filename);
 fileUpload1.SaveAs(path);//saves zip in temporary folder
 ExtractZIP(filename, targetfolder);  //extracts the zip folder contains to       //target folder path
</code></pre>