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. Everything works fine on my local machine on IIS but when i place the same code on server machine it give File I/O permission error ,even though i have given full access permission to Temp and Target location Folder. Can anyone help me on this??
Here is the same 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