MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: System.UnauthorizedAccessException: Access to the path  (Read 3857 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
System.UnauthorizedAccessException: Access to the path
« on: July 16, 2015, 03:13:15 PM »
Hello folks,

One of our windows shared customer was created one form for upload photo. This upload section was not working and was throwing an error message as below.

Quote
"System.UnauthorizedAccessException: Access to the path 'C:\Inetpub\vhosts\domain.com\adondomain.com\images 

After investigating on it I see that this error comes due to insufficient permissions to directory. Directory should have full permission of user psaadm, psacln, psaserv.

Follow below steps to set full permission to directory.

1. Go to C:\Inetpub\vhosts\domain.com
2. Right click on it and go to Security tab.
3. In it click on Edit button, click on Add button.
4. Dialog box of Select User or Group will be open, click on Advanced.. button and then click on Find Now.
5. Type word psa in Search results list.
6. Select psaadm, psacln, psaserv users by pressing Ctrl key. Click on OK, OK, Apply and then OK.

That's it and you should not receive this error now.

Enjoy ..... !! :) ;) :)

MilesWeb.com
cPanel Hosting in India - cPanel Hosting in India.

Grab an SSL for your website and SAVE 20% now. Coupon Code SSLSAVE20.

MilesWeb Hosting Forum

System.UnauthorizedAccessException: Access to the path
« on: July 16, 2015, 03:13:15 PM »