Access to the path “C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\cbnonreg\fc933fca\bbf91eea” is denied

前端 未结 11 703
无人及你
无人及你 2020-12-10 11:30

I get the error

Access to the path \"C:\\WINDOWS\\Microsoft.NET\\Framework\\v1.1.4322\\Temporary ASP.NET Files\\cbnonreg\\fc933fca\\bbf91eea\" is

相关标签:
11条回答
  • 2020-12-10 12:10

    It looks like your web app had a hiccup when the new version was deployed. This happens from time to time. I typically try the following items to resolve the issue:

    1. Open and resave the web.config file on the server. A lot of times this will cause a refresh of the assembly and fix your issue.

    2. Delete the "cbnonreg" folder. This will force a refresh of the assembly and fix the issue.

    3. Restart IIS. This flushes out all temporary files and gives you a fresh start of everything.

    Test these issues out one at a time to see if they resolve your issue. They are in the order of "least invasive" so that other applications on the server are not affected. You may into "permission denied" errors when performing issue #2 if some process is still trying to hold on to the files.

    Hope this helps!

    0 讨论(0)
  • 2020-12-10 12:19

    I solved this problem by assigning full control to IIS_IUSRS on ASP.Net Temporary files folder.

    0 讨论(0)
  • 2020-12-10 12:19

    Start Command Prompt in Non-Administrator mode and the error will go away. No need to fiddle with permission on Windows 7.

    0 讨论(0)
  • 2020-12-10 12:21

    This issue is getting caused by wrong permissions on one of the temporary folder located in C:\windows\Microsoft.Net\Framework or C:\windows\Microsoft.Net\Framework64.

    I guess there are some Windows Updates to blame for this. After giving my user full access to the folder C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files the exception was gone!

    0 讨论(0)
  • 2020-12-10 12:23

    This sounds like a permissions problem. Make sure that the ASPNET account has full access to the Temporary ASP.NET Files folder. If your problems persist, you could also try running The 'aspnet_regiis -i' command to re-install the framework, which should also reset file permissions.

    Failing that, you could try using Process Monitor and filtering to the aspnet_wp.exe process to check what the process is trying to do, and update file permissions accordingly.

    0 讨论(0)
  • 2020-12-10 12:24

    This happens from time to time. Try restart your computer and delete everything under temporary ASP.net files folder.

    0 讨论(0)
提交回复
热议问题