SIGN UP MEMBER LOGIN:    
ARTICLE

How to Overcome Error "Access to the Path Containing 'hash.web' is Getting Denied."

Posted by VIMAL LAKHERA Articles | How do I January 08, 2006
The article is about how to overcome with the error that reads "Access to the path containing 'hash.web' is getting denied."
Reader Level:

Introduction

After installing Visual Studio .NET and refreshing the page couple of times, I used to get this error frequently. The only resolution was to wait for upto 5 to 10 minutes or reboot system, since a folder in Temporary ASP.NET files containing web.config gets locked up automatically.

After searching a while in KBs, forums, I found one closest matching solution, which solved the problem. Just wanted to share with other readers who would also be experiencing this issue. The problem occurs significantly if you touch web.config and ASP.NET has significant memory consumption (as seen in Windows Task Manager).

There is a service called Indexing Service which runs in the system. During F5, ASP.NET tries to JIT compile the new DLL (as my understanding goes) and when simultaneously ASP.NET and Indexing service goes to the specified set of cache files, the deadlock occurs and ASP.NET throws this exception.

Solutions:

  1. Keep Indexing Service manual or stop it.
  2. In Indexing Service Preferences, make C:/Winnt/Microsoft.NET to be excluded or placed in the exclusion catalog so that Indexing Service will not access this location.

Login to add your contents and source code to this article
share this article :
post comment
 
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
Team Foundation Server Hosting
Become a Sponsor