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

I am facing problem with fileUpload control. it is giving error with the following message

Access to the path 'D:\ProjectWork\CMS\Code\--coa--' is denied.


I am using Windows7 platform and visulStudio2010 Ultimate edition

Regards
TanzeelurRehman
Posted
Comments
kannan 2 6-Apr-11 6:22am    
change your operating system
TanzeelurRehman 6-Apr-11 6:32am    
Thankyou
Can i get the ACL for the folders using C# and using one from the ACL can i upload files

Uploading a file to the server needs appropriate write permission to the account processing your request on the directory you are uploading the file.

Check the MSDN link - FileUpload Control Security Considerations[^]
 
Share this answer
 
v2
Comments
ahsan sarfraz 6-Apr-11 6:33am    
good link
Ankur\m/ 6-Apr-11 6:44am    
Thanks! your vote is appreciated.
you should give read write permission for uploaded file containing folder.
 
Share this answer
 
Comments
Ankur\m/ 6-Apr-11 7:25am    
Did I say something else? What's the point adding something already said.
I hope you won't repeat it again.
change your operating system

easy use file upload controle
 
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