title: ASP.NET is not authorized to access the requested resource. Can access a folder in debug mode but not when I deploy it on IIS
body: <p>My MVC application was running fine(hosted on my local machine) but after restarting the system it is not able to access a network folder. However, in debug mode it is running fine but when I publish it it doesn't work. </p>
  
  <blockquote>
    <p>Exception Details: System.UnauthorizedAccessException: Access to the path '\abc\xyz.txt' is denied. </p>
  </blockquote>
  
  <p>The machine 'abc' is accessible to everyone on the network.</p>