views:

1450

answers:

3

i get the error ... Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\cbnonreg\fc933fca\bbf91eea" is denied... whenever i try to access my newly deployed site. I looked at the path and discovered that .../cbnonreg\fc933fca\bbf91eea does not exist... please what can i do?

Idis.

+4  A: 

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.

Mun
+1 for aspnet_regiis -i -- which usually fixes this issue for me.
Michael Haren
A: 

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!

Dillie-O
A: 

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

Ken Yao