File Saving Issues

Sonreir

Newcomer
Joined
Mar 2, 2004
Messages
5
Location
Hampshire, UK
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?
 
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.
 
You have to if you're running your asp.net applications locally. Give that folder permission Full Access to Everyone - it should work then.
 
Back
Top