Click here to Skip to main content
15,891,818 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello,

I have one aspx page..on that i have fileuploader after uploading file and saving it i am getting error "access denied D:\websites\www.tain-con.com\dismodel\images\img1.img"

I have checked on filezilla the folder "images" has all type of permissions..

Please help me..

thankyou very much.
Posted
Comments
Ankur\m/ 22-Nov-10 6:18am    
Under which account is your ASP.NET application running? That account may not have sufficient permissions.

Well, the error says access is denied! Surely, one of the access permissions are missing. Checked for ASPNET user? Try impersonation and see if it works?

Further, I would suggest you to upload the files in a different folder than the hosted website folder itself. Hosted folders has different configuration setting and browsable settings. Try to upload in a different folder outside website folder with proper access privileges and see what happens.
 
Share this answer
 
Just you can check it by giving all rights to the perticular uploading folder,sometimes this will give error.
 
Share this answer
 
Sorry, not a web programmer, but whenever i get access denied I turn on error auditing, try it again, and you should see errors in the eventvwr with details of why access was denied.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900