【问题标题】:Hosting web application on windows server 2008 R2在 Windows Server 2008 R2 上托管 Web 应用程序
【发布时间】:2014-04-16 18:47:59
【问题描述】:

大家好,我在 asp.net 中创建了一个 Web 应用程序作为前端,MS-SQL 作为后端。我在 Windows 7 上托管了这个 Web 应用程序,它运行良好。我在我的应用程序中使用了报告查看器处理程序来使用 SSRS 报告这是我的处理程序

 <handlers>
  <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</handlers>

现在我的老板想要在 winodws server 2008 R2 上使用它,我试图在那里托管应用程序,但它给了我“HTTP 错误 500.19”错误,HResult 代码为 0x80070021。错误说无法读取处理程序,所以当我评论处理程序标签时配置我的应用程序运行良好,但随后我的 SSRS 报告出现错误。 我尝试通过 IIS 添加处理程序,然后我的 SSRS 报告也给出了错误。 我还在

中的 %windir%\system32\inetsrv\config\ applicationHost.config 中将值从“拒绝”更改为“允许”
            <section name="handlers" overrideModeDefault="Deny" />

<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny"/> 

但仍然出现同样的错误。有人知道如何解决这个问题吗?

【问题讨论】:

    标签: asp.net reporting-services ssrs-2008 hosting


    【解决方案1】:

    错误消息表示 XML 元素格式错误或配置错误,此链接可能有助于您的配置设置:

    Web.config Settings for ReportViewer

    【讨论】:

      猜你喜欢
      • 2016-04-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多