配置错误
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。
分析器错误信息: 访问被拒绝:“LeagAcc”。
源错误:
行 196:<add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
行 197:<add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
行 198:<add assembly="*"/>
行 199:</assemblies>
行 200:</compilation>
源文件: c:/windows/microsoft.net/framework/v1.1.4322/Config/machine.config 行: 198
程序集加载跟踪: 下列信息有助于确定程序集“LeagAcc”无法加载的原因。
--------------------------------------------------------------------------------
=== Pre-bind state information ===
LOG: DisplayName = localhost
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: localhost
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/2135a508/8d69a834/localhost.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/2135a508/8d69a834/localhost/localhost.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/bin/localhost.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: localhost, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
VS.Net 2003 下经常遇到,据说这是.Net的一个bug,并不是控件的问题.
曾经试过很多方法,重新注册(aspnet_regiis.exe -i), 清除缓存(我的文档下有个VSWebCache文件夹),删除bin目录下的dll重新增加引用并生成,重新启动IIS,乃至重新启动机器.....
上面的这些动作,有时候好使(特别是重新启动机器,呵呵)
解决方法:
1.关闭索引服务(或重新启动)
(A)可以在MS-DOS下输入 Net stop cisvc 命令禁止!
(B)可以通过进入 控制面板-〉管理工具-〉服务,找到Indexing Service并点击右键将其停止.
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/donetk/archive/2008/05/03/2365422.aspx