ASP.Net + Access to the path ‘C:\Inetpub\wwwroot\Test\images\upload\test.jpeg’ is denied.

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.

Advertisements

About Vijay Modi

Having 12+ years of experience in web application development. Expertise in various domains like E-Commerce, E-Learning, Insurance. I have expertise in web application development, window application development, Performance improvement, bug fixing etc. I am believing in quality work and achieving deadlines. Also like to work on new technologies and quick learner.
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

27 Responses to ASP.Net + Access to the path ‘C:\Inetpub\wwwroot\Test\images\upload\test.jpeg’ is denied.

  1. aditya says:

    thanks dude…ur post helped!

  2. Satish says:

    Thank you.

  3. Sreenivasulu.G says:

    I am very very thanking you

  4. Rohit says:

    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

  5. Prasanta says:

    This is not working for me
    Can you help me little more

  6. sangam says:

    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!!

  7. Jake Schott says:

    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.

  8. gloq1f says:

    Hello, Very nice site. Universe help us, dont worry man.

  9. poornima says:

    Very helpful article. Thank you 🙂

  10. Tushar Kumar says:

    Thanks! Work perfectly for me.

  11. Prasanna says:

    Thanks a lot

  12. Prasanna says:

    Very helpful Thanks a lot…:)

  13. Shashank Bhardwaj says:

    Sorry Yaaro, In my problem case, your solution is not working.

  14. NLV says:

    Thank you very much for the link.

    Regards
    NLV

  15. Delicia says:

    Hi… tnx a lot for the link

  16. nag says:

    Thank you. its very useful. but can i get the code for the same process dynamically

  17. Ahmed says:

    Thanks Vijay,

    But, what are the security risks of giving “Everyone” an access ?

    I will search for that.

    Ahmed.

  18. sanit says:

    this is a very nice way to make fool…………..
    thanks.

  19. Parvathy says:

    Thanks a lot friend u saved me
    thanks a lot

  20. kusi says:

    Thanks a lot. it helped me

  21. tanu says:

    thanks a lot.. !! 🙂

  22. Swapnil says:

    thanks dude…your post helped me a lot…
    coz i was struggling on it since a long.

    🙂
    Swap

  23. Suci says:

    thanks a lot, that’s really usefull for me 🙂

  24. mohd imran says:

    thank u very much………………

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s