Click here to Skip to main content
16,017,261 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I got this error:

ERROR: Access to the path 'C:\inetpub\vhosts\ZXY.com\httpdocs\Uploads\katrina.jpg' is denied.


This permission enable via C# Programmatically
is this possible
thanks
Posted
Updated 3-Sep-10 1:02am
v2
Comments
Dalek Dave 3-Sep-10 7:19am    
minor Edit for Readability.

1 solution

It means, the account under which your web application is running does not have write access to the folder.

Check the msdn link[^] to understand how to assign permission to the Upload folder.
 
Share this answer
 
Comments
thatraja 3-Sep-10 7:26am    
Reason for my vote of 5
Good link about the file permission

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