Click here to Skip to main content
16,008,183 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Hi,
BEFORE PUBLISH OR DEPLOYMENT
-----------------------------------------
We have develop a project namely TNPDA.
In that We Have use asynchronous file uploader.
We have upload the images.then it will store into specific folder.We specify the path like localhost/tnpda/images/
It works properly.
AFTER PUBLISHED
-------------------
after published and hosted into website, We have change the path like www.stfgk.in/tnpda/imagefolder...
IT WAS NOT WORKING WHEN I UPLOAD THE FILE.IT SHOW THE FOLLOWING ERROR.
Server response Error:'Access to the path 'D:\WEBDATA\www.stroweger.in\tnpda\imagedir\hh.jpg' is denied.
Do you want to see the response page.
Posted

1 solution

Erhm... if you read the error, it clearly says : Access to the path is denied

This is an indication the user has not enough permissions to write files in the path where you want to store your images. Browse to the path and make sure the permissions are set properly. The exact permissions depend on the operating system you work with and the user that is running your IIS Process. By default, try to add the IIS_URS group to the permissions and allow read/write/modify permissions. You should be good to go, else ask your system administrator to set the permissions properly for you.

Good luck,

Eduard
 
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