mike55 Posted June 30, 2006 Posted June 30, 2006 Hi all I am attempting to upload files to a web server in a remote location using the code and steps outlined in the following page: http://support.microsoft.com/default.aspx?scid=kb;en-us;323245. I have tested the code on my local network, and have successfully uploaded files to another computer on which I have just installed iis and asp.net while avoiding any changes to the permissions with the machine and folders. The problem that I am getting is that when I try to upload a file, the code throws an exception, and I get back the error: Access to the path 'C:\Inetpub\wwwroot\UploadDownload\Data\ST0A9BA2D.csv' is denied. Any suggestions? Mike55. Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
Administrators PlausiblyDamp Posted June 30, 2006 Administrators Posted June 30, 2006 It looks like a permissions problem. Does the ASPNET account have permission to write to the folder in question? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
mike55 Posted July 3, 2006 Author Posted July 3, 2006 It looks like a permissions problem. Does the ASPNET account have permission to write to the folder in question? I don't think it is a permission problem as I have given the ASPNET account full permission to read and write in the folder and the folder above it. However I am still getting the same problem. I also gave the network account the same permissions. Mike55. Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.