views:

5102

answers:

4

I'm trying to upload some image files in my asp.net web app.

Server OS: Windows server 2003 and IIS 6

I granted write permission in IIS to root and destination folder and granted FullControl Access to this users IUSer_Mashinname, Asp.net user, network services,Everyone, and all other users to the web app root folder and upload destination folder, but there is "Access denied problem".

A: 

Do you have an error log/stack that shows what on the system is responding with Access Denied?

Also have you checked the Event logs?

confusedGeek
A: 

What account is the application pool running under? What authentication does your app use?

Steven Robbins
Thanks,I changed the IIS default application pool account to IWAM_Machinename account and it soleved.
Arash
Hi, I am also having the same problem. I tried adding the IWAM_Machinename account, but I dont see any such account.Can u plz tell me the process completely.
Rupa
A: 

Maybe this link could help you.

Kb
A: 

I had the same problem and used procmon to determine that although my app pool was running under IIS_IUSRS (which had write and modify privs), it was impersonating IUSR. Adding privs to IUSR fixed the problem

Pat James