Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vb.net Reporting Services和Web应用程序(使用HTTPHandler)_Vb.net_.net 2.0_Reporting Services_Reportingservices 2005 - Fatal编程技术网

Vb.net Reporting Services和Web应用程序(使用HTTPHandler)

Vb.net Reporting Services和Web应用程序(使用HTTPHandler),vb.net,.net-2.0,reporting-services,reportingservices-2005,Vb.net,.net 2.0,Reporting Services,Reportingservices 2005,我们正在尝试将SQL Reporting Services添加到.Net 2.0 Web应用程序中。SRS已成功安装在服务器上,但在尝试加载报表或访问报表管理器时出现错误: Server Error in '/Reports' Application. -------------------------------------------------------------------------------- Configuration Error Description: An erro

我们正在尝试将SQL Reporting Services添加到.Net 2.0 Web应用程序中。SRS已成功安装在服务器上,但在尝试加载报表或访问报表管理器时出现错误:

Server Error in '/Reports' Application.
--------------------------------------------------------------------------------

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: Could not load file or assembly 'netGmrc' or one of its dependencies. The system cannot find the file specified.
错误来自web.config中的一行,其中一个名为Upload.axc的httpHandler被添加到web应用程序中。下面列出了整个httpHandler部分

    <httpHandlers>
        <add verb="*" path="Upload.axd" type="netGmrc.Upload, netGmrc"/>
        <remove verb="*" path="*.asmx"/>
        <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
    </httpHandlers>

当我们从Web.Config中删除Upload.axd处理程序时,SRS中的一切都正常工作。使用此httphandler使Reporting Services与web应用程序一起工作的正确方法是什么?

我找到了一个似乎可行的解决方案,即更改应用程序的web.config,使Reporting Services不会继承设置。防止继承似乎可以使Web应用程序和报表服务正常运行

<location path="." inheritInChildApplications="false">
  <system.web>
    ...
  </system.web>
</location>
这是从哪里来的