【问题标题】:Crystal Report Viewer is not loading in browserCrystal Report Viewer 未在浏览器中加载
【发布时间】:2018-08-31 21:12:02
【问题描述】:

有人知道上面的问题是什么吗? 我正在使用 Visual Studio 2013 和 Crystal Report v13。我尝试将其部署到本地主机(IIS)并浏览它,除非我使用 Fire Fox,否则不会加载 Crystal Report。我在谷歌浏览器、IE、Safari 和opera 都试过了,也没有加载。

非常感谢您的评论!

【问题讨论】:

    标签: asp.net report viewer


    【解决方案1】:

    我认为当您尝试从 Windows 机器中的本地 Internet 信息服务器访问 Crystal Report 时,查找资源存在问题。 因此,对于解决方案,请尝试将 IIS 目录中的水晶资源文件夹设置为:

    C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13

    并在您的配置文件中进行配置:

    <configSections>
    <sectionGroup name="businessObjects">
      <sectionGroup name="crystalReports">
        <section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null" />
           <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
      </sectionGroup>
    </sectionGroup>
      </configSections>
    
    <businessObjects>
      <crystalReports>
        <rptBuildProvider>
          <add embedRptInResource="true" />
        </rptBuildProvider>
        <crystalReportViewer>
              <add key="ResourceUri" value="/crystalreportviewers13" />
      </crystalReportViewer>
      </crystalReports>
    </businessObjects>
    

    希望这能帮助你解决它。

    【讨论】:

    • 它不工作......正如@LstPatrick 所说,指向该部分并抛出错误......甚至无法加载项目......
    猜你喜欢
    • 1970-01-01
    • 2013-04-16
    • 1970-01-01
    • 1970-01-01
    • 2016-04-09
    • 2010-12-15
    • 2012-08-26
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多