Register | Login
Friday, May 16, 2008

Sections
  
About Us
  
Your Blog
You must be logged in and have permission to create or edit a blog.
Blog Roll
  
Hosting Provided by Server Intellect
 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.
    

Location: BlogsDaffodilnet Express    
Posted 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.
Permalink |  Trackback

Comments (33)   Add Comment
re: Access to the path containing 'hash.web' is getting denied...    By Rama on 8/28/2006
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--

re: Access to the path containing 'hash.web' is getting denied...    By Wriju on 8/28/2006
Thanks a lot I have fixed with your suggestion.
Wriju

re: Access to the path containing 'hash.web' is getting denied...    By Partha on 8/28/2006
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

re: Access to the path containing 'hash.web' is getting denied...    By shernandez on 8/28/2006
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.

re: Access to the path containing 'hash.web' is getting denied...    By Darshan on 8/28/2006
Thanks

re: Access to the path containing 'hash.web' is getting denied...    By Muhammad Muddasser Niaz on 8/28/2006
Thanx for the tip.... Problem solved.....

re: Access to the path containing 'hash.web' is getting denied...    By Danish Anwar on 8/28/2006
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

re: Access to the path containing 'hash.web' is getting denied...    By Amr Salah on 8/28/2006
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

re: Access to the path containing 'hash.web' is getting denied...    By gk on 8/28/2006
Did solve my problem. Thanks a bunch.

re: Access to the path containing 'hash.web' is getting denied...    By Doug on 8/28/2006
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?

re: Access to the path containing 'hash.web' is getting denied...    By Erez on 8/28/2006
Thanks a lot, it fixed my problem.

re: Access to the path containing 'hash.web' is getting denied...    By MRR on 8/28/2006
I cannot resolve my problem with this solution... Why???

re: Access to the path containing 'hash.web' is getting denied...    By Troels on 8/28/2006
GREAT! Finally a solution that fixes this problem! thanks a lot. gooood i love you!

re: Access to the path containing 'hash.web' is getting denied...    By V.KRISHNA KUMAR on 8/28/2006
THANKS!!!!IT REALLY SAVED ME FROM RE-STARTING THE SYSTEM AGAIN AND OFTEN

re: Access to the path containing 'hash.web' is getting denied...    By Kishor Patil on 8/28/2006
Thanks! Solutions is working fine

re: Access to the path containing 'hash.web' is getting denied...    By Prab on 8/28/2006
Thanks man. this really helped me lot. Thank you very much

re: Access to the path containing 'hash.web' is getting denied...    By Keyur on 8/28/2006
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

re: Access to the path containing 'hash.web' is getting denied...    By NimeX on 8/28/2006
Really a helpful solution.... i search a lot for this but no other has given a such solution..

thanks again..


re: Access to the path containing 'hash.web' is getting denied...    By Amrita on 8/28/2006
Thanks

re: Access to the path containing 'hash.web' is getting denied...    By Redhy on 8/28/2006
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.

re: Access to the path containing 'hash.web' is getting denied...    By Sathish on 8/28/2006
thanks a lot for the solution

re: Access to the path containing 'hash.web' is getting denied...    By vbkoder on 8/28/2006
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.

re: Access to the path containing 'hash.web' is getting denied...    By NISHANT RANA on 8/28/2006
THANK YOU IT SOLVED MY PROBLEM

re: Access to the path containing 'hash.web' is getting denied...    By santosh on 8/28/2006
Access to the path containing 'hash.web' is getting denied...

re: Access to the path containing 'hash.web' is getting denied...    By bhavesh on 8/28/2006
thanks.

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

re: Access to the path containing 'hash.web' is getting denied...    By Nhilesh Baua on 8/28/2006
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.

re: Access to the path containing 'hash.web' is getting denied...    By Neal Kranes on 8/28/2006
I have been having this problem for months. Your solution worked perfectly. Much thanks.

re: Access to the path containing 'hash.web' is getting denied...    By deepak on 8/28/2006
Good Suggestion. But, i am facing a problem with .pdb being denied.

re: Access to the path containing 'hash.web' is getting denied...    By Andres Pompiglio - Argentina on 8/28/2006
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.

re: Access to the path containing 'hash.web' is getting denied...    By Akbar Khan on 8/28/2006
Great Tip ! friend ......
I was so tired of retarting the machine due to this problem ..... Thanks Alot

re: Access to the path containing 'hash.web' is getting denied...    By Naji on 8/28/2006
Thanks alot , i hope microsoft team read this issue.

re: Access to the path containing 'hash.web' is getting denied...    By Varun Arora on 8/28/2006
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.

re: Access to the path containing 'hash.web' is getting denied...    By Kit on 8/28/2006
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.


Your name:
Title:
Comment:
Add Comment   Cancel 
Blog Archive
Syndication

 


 


Digg This
 


DotNetNuke Platinum Benefactor

  
 

 Terms Of Use | Privacy Statement
 Copyright 2006 - Santry Technology Solutions, Box 172, Girard, PA 16417, (814) 414-0252