PDA

View Full Version : UnauthorizedAccessException on folder



papreston
2013-03-03, 10:05 PM
I'm getting this error...

[UnauthorizedAccessException: Access to the path 'N:\ServerFolders\Recorded TV\' is denied.]

I'm guessing its a permissions problem but not sure how to fix. I'm running this on WHS 2011 and that folder has been shared with other machines and apps with no problem. It says it's a problem with asp.net permissions but I cant work it out.

Thanks

reven
2013-03-04, 02:11 AM
yes that is a permissions issue.

The website runs using "NETWORK SERVICE" account by default, so that user will need permissions to that folder. Or you can add "Everyone" to that folder.

Google how to add permissions to a folder, it basically involved right clicking -> properties -> security -> edit -> add user -> ok

papreston
2013-03-05, 02:53 AM
Adding 'Everyone" did the trick, thanks so much. IT LOOKS GREAT!