Jump to content

IIS - Access to the path "C:\Inetpub\wwwroot\mysite\Photos\Album\148.079.257_3.jpg" is denied


tapgyn

Recommended Posts

Suddenly my IIS started to restrict me from writing files, basically, any writing thing I may try to do over System.IO will get me this...

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.UnauthorizedAccessException: Access to the path "C:\Inetpub\wwwroot\Gandia\Fotos\P\148.079.257_3.jpg" is denied.

It gives me suggestions on allowing the folders for being written by IIS,but it was working before...I found this error when I was making the second file-uploader my website has,I tried to go to the first one I had made and it's broken too...I couldn't have changed that, it's been weeks I don't change any code on that pageand I remember it working just some days ago. :)Anyone give tips before I freak out :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...