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.
Search Articles
Categories
BizTalk
Blogs
C#, ASP.Net
Search
Blog Stats
- 1,025,615 hits
Recent Comments


thanks dude…ur post helped!
thanks.
Thank you.
I am very very thanking you
But I have not any securty tab in upload folder where i want to save image. plz help me i m using .net 2005 and windows xp.
thaks in advance
This is not working for me
Can you help me little more
Thanks for the information. I initially studied the the methods from msdn and was scared that we need such big effort to encrypt the web.config file’s section. In fact this all is fun. In fact msdn provides deep info and we programmers are always in search of short cut way! At least i think so!! Thank you again!!
For those people who do not have the security tab on their folder properties using windows xp need to enable the security tab by opening my computer –> Tools –> Folder options. click on the view tab ensure “Use File sharing is unchecked. Then you should see the security tab.
Hello, Very nice site. Universe help us, dont worry man.
thanks gloq1f.
Very helpful article. Thank you
Thanks! Work perfectly for me.
Thanks a lot
Very helpful Thanks a lot…:)
Sorry Yaaro, In my problem case, your solution is not working.
Thank you very much for the link.
Regards
NLV
Hi… tnx a lot for the link
Thank you. its very useful. but can i get the code for the same process dynamically
Thanks Vijay,
But, what are the security risks of giving “Everyone” an access ?
I will search for that.
Ahmed.
this is a very nice way to make fool…………..
thanks.
Thanks a lot friend u saved me
thanks a lot
Thanks a lot. it helped me
thanks a lot.. !!
thanks dude…your post helped me a lot…

coz i was struggling on it since a long.
Swap
thanks a lot, that’s really usefull for me
thank u very much………………