水晶报表将无法正确渲染 [英] Crystal Reports will not render correctly

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

问题描述

我想Web应用程序部署到Windows 2012服务器,但水晶报表查看器将无法在服务器上正确呈现;但它工作在本地就好了。

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.

在这里输入的形象描述

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

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>

我使用的:


  • 的Crystal Reports运行13.0.14

  • IIS 8.0

  • Windows Server 2012中

推荐答案

好了,挠头,赏金祭,谷歌搜索的两周之后,我终于想通了这个问题。水晶运行时是工作的罚款,这是一个浏览器的兼容性CSS问题。我加入了跟随meta标签页面,现在它在IE中呈现就好了。

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">

不幸的是,它仍然不能正常在Chrome渲染,但是这是一个全诺特尔问题。

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

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

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