Sections
     
Blog Control Panel
You must be logged in and have permission to create or edit a blog.
     
     
Skip Navigation Links.
     
     
     
Blog Posts
Oct 15

Written by: Deepak Kumar Vasudevan
10/15/2004 

Access to the path containing 'hash.web' is getting denied.

After installing Visual Studio .NET and F5 a couple of times, I used to get this error frequently. The only resolution was to wait for upto 5 to10 mins or restart 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 my 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:

  • Keep Indexing Service Manual or Stop It
  • 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.

33 comment(s) so far...


re: Access to the path containing 'hash.web' is getting denied...

Actually this solved another problem we are facing here. Thanks for the tip. The problem is like this:
One of the collegues @ my work place had a working VS .NET installation and was happily working on ASP.NET. Sometime later he was not able to debug the asp.net applications through VS .NET, changed config files ran aspnet_regiis, uninstalled VS .NET and reinstalled it completely so many times. No use, nada, zilch. So, we finally said "Take Care" that workstation, and gave him another one. Now after reading your post, I found Indexing Service was running on that machine. So I stopped it, reinstalled VS.NET and it is fine. Just fine. Thanks for the tip.

--Rama--

By Rama on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Thanks a lot I have fixed with your suggestion.
Wriju

By Wriju on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Hi i was facing the same problem as 'hash.web' is getting denied for asp.net.

This really solved my problem..Thanks a lot

Partha Reddy

By Partha on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Running Commerce Server 2002/Content Management Server, and "suddenly" started "locking up" all of the time with CMS and non CMS-related dll's in the Temporary ASP.NET files. Found article that describes what you did:

http://support.microsoft.com/default.aspx?scid=kb;en-us;329065

I excluded the folder and that seemed to do the trick. Your posting confirms and explains a little more. Thanks for the tip.

By shernandez on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Thanks

By Darshan on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Thanx for the tip.... Problem solved.....

By Muhammad Muddasser Niaz on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Thanx for the tip. i am doing a University Project and i was very worried about this error.

This really solved my problem..Thanks a lot

By Danish Anwar on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

this didnt solve my problem , i found that ASP.NET isnt generating the DLLS in the temp at all , i found a turn around

for me i created an application pool under IIS6 , and made it run under localsystem instead of networkservice , then assigned this pool to the application that has the error ,this solved it at once . not secure but life saver :)

thanks to all

By Amr Salah on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Did solve my problem. Thanks a bunch.

By gk on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

I have read this fix around everywhere, but after checking the computer that the asp.net app is running on , it says that index service is set for manual.

and I am still getting the access denied error.. any other thoughts?

By Doug on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Thanks a lot, it fixed my problem.

By Erez on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

I cannot resolve my problem with this solution... Why???

By MRR on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

GREAT! Finally a solution that fixes this problem! thanks a lot. gooood i love you!

By Troels on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

THANKS!!!!IT REALLY SAVED ME FROM RE-STARTING THE SYSTEM AGAIN AND OFTEN

By V.KRISHNA KUMAR on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Thanks! Solutions is working fine

By Kishor Patil on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Thanks man. this really helped me lot. Thank you very much

By Prab on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Realy good solution.
Its working fine when i stoped the service, But I couldnt find

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.


Thanks a lot,
Keyur

By Keyur on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Really a helpful solution.... i search a lot for this but no other has given a such solution..

thanks again..

By NimeX on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Thanks

By Amrita on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

unexpected error creating debug information file ..myfile.pdb. Access is denied.

This is the error I was getting. A lil googling suggested the following hacks :
1. Restart the machine
2. Kill any process that is using/locking the pdb file.
3. Delete the OBJ folder
4. An older version of some dlls will be in use....unload them.
5. Stop index service.

All the above mentioned hacks have worked for someone or other. But it didn't help me. It was then that I contacted Deepak Vasudevan. And this is what he found. The files in the OBJ folder were all readonly. Remove the readonly attribute and say Abracadabra ...Problem solved.

THANKS Deepak.

By Redhy on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

thanks a lot for the solution

By Sathish on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

I cannot find a "Indexing Service Preference" anywhere on my WIN XP SP2 machine. IN the properties there is not a setting to exclude a file location.

By vbkoder on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

THANK YOU IT SOLVED MY PROBLEM

By NISHANT RANA on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Access to the path containing 'hash.web' is getting denied...

By santosh on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

thanks.

by the way, can you tell me how to do what you've suggested in detail

By bhavesh on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Hi Dude,

Thanks a lot,
I was searching for this thing and trying to fix my error for nearly 3 hours.
Can't say what Ass has hole where? It's MicroSoft.

Thanks Dude.

By Nhilesh Baua on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

I have been having this problem for months. Your solution worked perfectly. Much thanks.

By Neal Kranes on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Good Suggestion. But, i am facing a problem with .pdb being denied.

By deepak on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

I tried your solutions, but they didn´t work for me.
So i worked out in this way:

i granted write permissions to the asp worker account in this folder:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files

and now it works.

By Andres Pompiglio - Argentina on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Great Tip ! friend ......
I was so tired of retarting the machine due to this problem ..... Thanks Alot

By Akbar Khan on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Thanks alot , i hope microsoft team read this issue.

By Naji on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

Hi,
This dint solve my problem at all. End times of the project are going on but i m not able to find the solution of this problem. Anyways thanks a lot.

By Varun Arora on   8/28/2006

re: Access to the path containing 'hash.web' is getting denied...

thx Andres Pompiglio - Argentina

i think this is extremely stupid. Took me 4 hours just to get it install and to work.

To sum it up:

For directory C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files, give USERS permission to write to this folder.

By Kit on   8/28/2006
     
WWWCoder.com Weblogs
Host your weblog here at WWWCoder.com for free. Just sign up for membership and you'll see a link on the left which will allow you to create your own weblog. We do ask that all blogs have a technical theme and be in English.
     
     

Other family network sites: santry.com - katieandkarleigh.com

Powered by 

 

     
Copyright 20010 - Santry Technology Solutions, Box 172, Girard, PA 16417, (814) 774-0970
Privacy Statement | Terms Of Use