小弟是一个ASP.net新手,最近我用VS 2003进行ASP.net的程序时,发现经常出现一个
这样的问题就是打开IE输入所要显示的页面时,出现类似于
xxxx\xxx\hash.web不可访问的问题,它提示要授与访问的权利,而我去访问此目录,也无法打开
这个问题是随机出现的,一般开始编译几次都没有问题,但是再过几次就会出现。把系统重启后,
又能正常访问。不知道是什么原因?
不知道大家有没有这样的问题,是我的VS 2003的问题还是系统本身的问题?请高手指教 ,先谢了!
这样的问题就是打开IE输入所要显示的页面时,出现类似于
xxxx\xxx\hash.web不可访问的问题,它提示要授与访问的权利,而我去访问此目录,也无法打开
这个问题是随机出现的,一般开始编译几次都没有问题,但是再过几次就会出现。把系统重启后,
又能正常访问。不知道是什么原因?
不知道大家有没有这样的问题,是我的VS 2003的问题还是系统本身的问题?请高手指教 ,先谢了!
解决方案 »
- 数据解密问题
- 网站安全性
- 怎么使用__doPostBack,我的有问题啊
- 为什么不能弹出提示信息....????在线等..
- 菜鸟的问题,请不吝赐教!!!!
- 一个关于vs2003的编辑的问题
- Microsoft Visual Studio的云计算 感觉就是个嘘头啊!!!
- 未能加载文件或程序集“System.Windows.Controls, Version=5.0.5.0, Culture=neutral, PublicKeyT
- 100分求解,项目没有用到razor引擎,为什么提示不能加载?有什么办法解决吗?
- 没有人能够回答注册表写入权限的问题吗?
- 使用FreeTextBox出错,"语法错误 (操作符丢失)"
- ASP.NET中如何使控件随IE窗体大小的变化而变化
win 2003 下必须有asp_net 和 iis_wpg 完全控制权限
不能显示,而是间或地出现,但实际上有时候把web.config改一改,又
能用了。
个人觉得应该是一个BUG,或者是微软没有讲清楚。
因此在编译调试期间,停止索引服务就可以了, 在程序发布后,再开启就好了。
我正准备试试看是不是这样的,呵呵,还是感谢几位,如果方法是正确的,我就会结贴
如果方法不正确,还是需要继续发贴。
以下是英文原文,懒得翻了,大家凑合着看吧 Access to the path containing 'hash.web' is getting denied...
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.
http://blogs.wwwcoder.com/deepak/archive/2004/10/14/885.aspx