Crystal Reports将无法正确呈现 [英] Crystal Reports will not render correctly

查看:228
本文介绍了Crystal Reports将无法正确呈现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将Web应用程序部署到Windows 2012 Server,但Crystal Report Viewer将无法在服务器上正确显示;但它在本地工作正常。





我的web.config文件具有正确的水晶标签:

 < configSections& 
< sectionGroup name =businessObjects>
< sectionGroup name =crystalReports>
< section name =rptBuildProvidertype =CrystalDecisions.Shared.RptBuildProviderHandler,CrystalDecisions.Shared,Version = 13.0.2000.0,Culture = neutral,PublicKeyToken = 692fbea5521e1304,Custom = null/>
< section name =crystalReportViewertype =System.Configuration.NameValueSectionHandler>< / section>
< / sectionGroup>
< / sectionGroup>
< / configSections>

< businessObjects>
< crystalReports>
< rptBuildProvider>
< add embedRptInResource =true/>
< / rptBuildProvider>
< crystalReportViewer>
< add key =ResourceUrivalue =/ crystalreportviewers13/>
< / crystalReportViewer>
< / crystalReports>
< / businessObjects>

我使用的是:




  • Crystal Reports运行时13.0.14

  • IIS 8.0

  • Windows Server 2012


解决方案

确定,所以经过几个星期的头痛,赏金产品和谷歌,我终于找出了问题。 Crystal Runtime工作正常,这是一个浏览器兼容性CSS问题。

 < meta http-equiv = X-UA-Compatiblecontent =IE = 9>不幸的是,它仍然无法在Chrome中正常显示,但这是一个全新的问题。 


I am trying to deploy a web application to a Windows 2012 Server, but the Crystal Report Viewer will not render correctly on the server; but it works just fine locally.

My web.config file has the correct crystal tags:

<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"></section>
        </sectionGroup>
    </sectionGroup>
</configSections>

<businessObjects>
    <crystalReports>
        <rptBuildProvider>
            <add embedRptInResource="true" />
        </rptBuildProvider>
        <crystalReportViewer>
            <add key="ResourceUri" value="/crystalreportviewers13" />
        </crystalReportViewer>
    </crystalReports>
</businessObjects>

I am using:

  • Crystal Reports runtime 13.0.14
  • IIS 8.0
  • Windows Server 2012

解决方案

OK, so after weeks of head scratching, bounty offering, and Googling, I finally figured out the problem. The Crystal Runtime was working fine, it was a browser-compatibility-CSS issue. I added the follow meta tag to the page, and now it renders just fine in IE.

<meta http-equiv="X-UA-Compatible" content="IE=9">

Unfortunately, it still does not render properly in Chrome, but that's a whole-nother problem.

这篇关于Crystal Reports将无法正确呈现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆