Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hey all,

 

I'm trying to save a file uploaded by a user, but I keep getting the exception:

Access to the path "c:\inetpub\wwwroot\UploadTest\uploaded_files\Ascgen.exe" is denied.

 

Do I need to change something in IIS to allow my program access to this folder?

Posted
Well it could be one of two things...the path that your trying to save to should be a directory, not a program file. The ASPNET local machine account needs read/write access to the specific directory along with the IIS account.

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