Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

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)

Posted
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.

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)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...