zoukankan      html  css  js  c++  java
  • No redirect found in host configuration file (C:WINDOWSMicrosoft.NETFrameworkv1.1.4322aspnet.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:windowsmicrosoft.netframeworkv1.1.4322Configmachine.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:WINDOWSMicrosoft.NETFrameworkv1.1.4322aspnet.config).
    LOG: Using machine configuration file from c:WINDOWSMicrosoft.NETFrameworkv1.1.4322configmachine.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.NETFramework<Version Number>Temporary ASP.NET Files  目录。
    <Version Number> 指你要处理的.net版本。
    2.6、在“包含在索引中吗?”选项中,选择“否”
    2.7、单击“确定”按钮
    2.8、在“索引服务”节点上右键单击,重起索引服务即可。
     
    解决方法三:
       1. 可以删除 binXX.pdb
     
     
    引自:http://niutuku.com/tech/www/273585.shtml
  • 相关阅读:
    【转】 java中Class对象详解和类名.class, class.forName(), getClass()区别
    106. Construct Binary Tree from Inorder and Postorder Traversal
    105. Construct Binary Tree from Preorder and Inorder Traversal
    107. Binary Tree Level Order Traversal II
    109. Convert Sorted List to Binary Search Tree
    108. Convert Sorted Array to Binary Search Tree
    110. Balanced Binary Tree
    STL容器迭代器失效问题讨论
    113. Path Sum II
    112. Path Sum
  • 原文地址:https://www.cnblogs.com/Bluehand/p/3797533.html
Copyright © 2011-2022 走看看