This error is coming when you are going to upload the file on specified folder. Here I am going to upload test.jpeg in upload folder. When I am going to upload I am getting the following error:
Access to the path 'C:\Inetpub\wwwroot\Test\images\upload\test.jpeg' is denied.
Solution:
For this you have to give the access to this folder. Please follow the steps to resolve this error:
1> Right click on upload folder. Click on properties.
2> Click on Security tab. You can find the window like following:
3> Click on Add button. You will find the following window.
4> Write the Everyone in the "Enter the objecdt names to select[Select]:" textarea.
5> Click on Check Name button and click on ok button.
6> Give full control rights to this Everyone user.
Now test your application. It will works fine.
No comments:
Post a Comment