No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).

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

No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).

时间: 2024-10-11 05:58:54

No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).的相关文章

[.net] 关于CS0016: Could not write to output file ‘c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files… ‘Access is denied.’ 的解决办法

[.net] 关于CS0016: Could not write to output file ‘c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files… ‘Access is denied.’ 的解决办法 1.添加用户"Network Service” 和 “IIS_IUSERS” 读下面目录的读写权限 a) C:\Windows\Temp b) C:\Windows\Microsoft.NET\Framewo

Could not write to output file &#39;c:\Windows\Microsoft.NET ASP.NET Files\xx&#39; -- &#39;Access is denied

网上有IIS7的解决方法,是给"C:\Windows\Temp"文件夹加上添加用户IIS_IUSRS的完全控制权限. 但我这个老机器是IIS6的,没有IIS_IUSERS用户,只能给Everyone用户加上完全控制权了,没想到 真的好用了. 其他事项: >>>重启iis: 运行命令 iisreset /RESTART >>>网站配置时注意要选中"脚本和可执行文件" Could not write to output file 'c

Configuration file schema for the .NET Framework

https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/index Runtime Settings Schema Describes the elements that configure assembly binding and runtime behavior. Web Settings Schema All elements in the Web settings schema, which

Creating a PXE Configuration File

  The PXE configuration file defines the menu displayed to the pxe client host as it boots up and contacts the TFTP server. You need a PXE configuration file for PXE. The TFTP server is always listening for PXE clients on the network. When it detects

Nginx - Configuration File Syntax

Configuration Directives The Nginx configuration file can be described as a list of directives organized in a logical structure. The entire behavior of the application is defined by the values that you give to those directives. By default, Nginx make

DHCP (Dynamic Host Configuration Protocol)

DHCP:Dynamic HOST configuration Protol DHCP工作模式: 申请IP地址: client --> DHCPDISCOVER DHCPOFFER <--server client --> DHCPREQUEST DHCPACK <--server 以上四个步骤是广播方式进行 续租IP地址: client --> DHCPREQUEST DHCPACK <--server 以上二个步骤为单播方式 DHCP relay: DHCP 中断功

log4j报错ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.

ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. log4j版本:log4j-core-2.7.jar   log4j-api-2.7.jar log4j2只支持xml和json两种格式的配置,所以配置log4j.properties时,是没有作用的. log4j 2.0与以往的1.x有一个明显的不同,其配置

Struts2 ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging

在做struts2时导包完成发现Struts2 ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging log4j2的配置文件没找到去struts2-blank下.WEB-INF\classes下找到log4j的配置文件log4j2.xml:把他放入src中

im-switch -s ibus错误:Error: no configuration file &quot;ibus&quot; exists.

在虚拟机上安装Ubuntu14.04 后安装ibus输入法,万万没想到在切换输入法的时候居然出错了! 无语了,再网上查了一下,这个错误出现的还是比较少的. 先说Ubuntu输入法(ibus)安装的一般步骤吧. 一.安装语言包 System Settings-->Language Support-->Install/Remove Languages 安装时间会稍微长一点.完成后注销一下. 如果不想安装中文语言包,则需要安装中文字体: $ sudo apt-get install ttf-wqy-