Asp. net 'Access to path denied' solution analysis

  • 2020-06-12 08:48:54
  • OfStack

Add ASP. NET account permissions to the following directory.
C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files

ASP. NET account has the following permissions: read and run, list folders and directories, read and write.

A few days before his writing transplant to another machine, 1 out of the question. Is intuitively think of the permissions problem. But I'm almost all WEB directory permissions changed to fully control, still can't solve the problem. Check a lot of information, don't speak clearly. There are said to change this, change also have said that. Later, finally noticed that error is displayed when the ASP. NET Temporary Files folder access denied. So into this directory, and add ASPNET and NETWORK in permissions SERVICE two users, and set permissions to be writable, problem solved!

【 Summary 】 On the path "..." Access denied - Solution

1. There may be a problem with the installation. Reinstall the execution command es23EN_ES24en-ES25en
2. Upgrade everyone permissions to modifiable
3. Enhance aspnet permissions: Control panel - management tools - Computer management - local users and groups find ASPNET attached to add Administrators
4. Delete the iis virtual directory and rebuild it
5. Add to web.config < identity impersonate="true"/ >

It's almost out of range.
Try them all once and almost your problem will be solved.


Related articles: