Crystal Reports - 不可见,不会抛出错误 [英] Crystal Reports - Not Visible, No error thrown

查看:58
本文介绍了Crystal Reports - 不可见,不会抛出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。

我正在使用SAP的Crystal报告13 ...



我可以在本地运行Web应用程序机器并查看水晶报告。



但是一旦我在服务器上的IIS上发布文件和视图,我就无法在登录后看到水晶报告



所以我尝试以下解决方案,但这对我不起作用...... PLZ帮我做什么...... < br $>


1.



Hi.
I m using Crystal report 13 from SAP...

I am able to run the web application on local machine and see the crystal report.

But once I publish the file and view on IIS on Server I am not able to see the crystal report after login

so i m trying following solution but it's not work for me...plz help me what to do...

1.

Cause

    The Crystal Reports viewer folder is not configured correctly
    The default CR runtime install (MSM or MSI) will only configure the viewer for a default application pool
    When using a custom application pool, the viewer must be configured manually


Resolution

    Copy the folders under "\inetpub\wwwroot\aspnet_client\" and paste them under the  root of the custom web site

     Add the following to the application web.config file:

<configSections>

    <sectionGroup name="businessObjects">
      <sectionGroup name="crystalReports">
        <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler"/>
      </sectionGroup>
    </sectionGroup>
  </configSections>

  <businessObjects>
    <crystalReports>
      <crystalReportViewer>
        <add key="UseBrowserLocale" value="true"/>
        <add key="resourceURI" value="~/aspnet_client/system_web/4_0_30319/crystalreportviewers13" />
      </crystalReportViewer>
    </crystalReports>
  </businessObjects>









2.







2.

Cause

This error message appears because application is not able to find crystalreportviewers13 folder.

Resolution

    Add below lines in web.config of the web application.

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

推荐答案

确保在运行时获取 DataSet 中的数据。

此问题的可能解决方案。

Crystal Reports:避免空白页面 [ ^ ]

水晶报道 - 神秘的bl ank pages [ ^ ]

Crystal Report空白/空/不显示。没有屏幕错误,但事件日志'ConfigurationErrorsException'收到 [ ^ ]



并检查这一个

Crystal Report在一段时间后不显示 [ ^ ]
Ensure you get data in your DataSet in runtime.
Here possible solutions for this issue.
Crystal Reports: Avoiding Blank Pages[^]
Crystal reports - Mysterious blank pages[^]
Crystal Report Blank / Empty / Not Displaying. No On-Screen Error, But Event Log ‘ConfigurationErrorsException’ Received[^]

And check this one too
Crystal Report doesn't show after some time[^]


这篇关于Crystal Reports - 不可见,不会抛出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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