Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message:
访问被拒绝:“ActiveReports.Interop”。
Source Error:
Line 198: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
Line 199: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
Line 200: <add assembly="*" />
Line 201: </assemblies>
Line 202: </compilation>
|
Source
File: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config
Line: 200
Assembly Load Trace: The following information
can be helpful to determine why the assembly ‘ActiveReports.Interop‘ could not
be loaded.
=== Pre-bind state information === LOG: DisplayName = ActiveReports.Interop (Partial) LOG: Appbase = file:///c:/inetpub/wwwroot/myweb 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: ActiveReports.Interop LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ccbsweb/4cd35043/90c9b667/ActiveReports.Interop.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ccbsweb/4cd35043/90c9b667/ActiveReports.Interop/ActiveReports.Interop.DLL. LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/myweb/bin/ActiveReports.Interop.DLL. LOG: Publisher policy file is not found. LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config). LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config. LOG: Post-policy reference: ActiveReports.Interop, Version=3.0.0.1893, Culture=neutral, PublicKeyToken=cc4967777c49a3ff |
一般都是组件访问被拒绝, 有时很火,IIS重启不行,系统注销也不行,只有重启,但现在可以不要了
解决方法一:
1.开始 -- 管理工具 -- 计算机管理(Win2003的位置,其他操作系统类似)打开计算机管理
--展开计算机管理左边树中“服务和应用程序”节点,再在其下展开“索引服务”节点,停止服务,最好最快的方法
解决方法二(转载):
2.1、开始 -- 管理工具 -- 计算机管理(Win2003的位置,其他操作系统类似)打开计算机管理
2.2、展开计算机管理左边树中“服务和应用程序”节点,再在其下展开“索引服务”节点,再在其下展开“System”节点,再在其下展开“目录”节点。
2.3、在计算机管理的右边我们可以看到配置的索引服务目录。
2.4、在“目录”节点上右击鼠标,选择“新建”--“目录”
2.5、在“添加目录”对话框中,路经输入框中输入 ASP.net 的临时文件目录。默认应该是:
c:\<WINDIR>\Microsoft.NET\Framework\<Version Number>\Temporary ASP.NET Files 目录。
<Version Number> 指你要处理的.net版本。
2.6、在“包含在索引中吗?”选项中,选择“否”
2.7、单击“确定”按钮
2.8、在“索引服务”节点上右键单击,重起索引服务即可。
解决方法三:
1. 可以删除 bin\XX.pdb
引自:http://niutuku.com/tech/www/273585.shtml