I\'m trying to write a log file from an ASP.NET application under IIS7, but keep getting the following exception:
UnauthorizedAccessException \"Access to the
Not sure why you would want to use Process Monitor for access problem in file system.
Check that the directory has access permitted for the user which the application is running as at the point of the file IO call. If you are impersonating this would be the Network Service account. If you are impersonating, it would be the impersonating user.