SAP Crystal Reports Viewer 不显示在浏览器中 [英] SAP Crystal Reports Viewer does not display in browser

查看:16
本文介绍了SAP Crystal Reports Viewer 不显示在浏览器中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我拥有一个带有框架 4.5 的 ASP.NET Web 项目.为 VS2012 Crystal Reports Developer 安装并实现了一个 SAP 报表.

I own a ASP.NET web project with framework 4.5. Is installed and implemented an SAP report for VS2012 Crystal Reports Developer.

在本地报告中,它在浏览器(Chrome、Firefox、IE)中正常工作,并且数据在正确的出口中.现在,在发布(在另一台服务器上)时,我们做的第一件事就是安装相同版本的 SAP,以便有必要的库等.

Making in Local report, it works correctly in browsers (Chrome, Firefox, IE) and the data in the correct exit. Now, at the time of publishing (on another server) the first thing we did was install the same version of SAP, so that there are the necessary libraries etc..

我遇到的问题是 Report Viewer 的块,我的意思是,repot 容器是什么,没有显示在浏览器中,打开这个嵌入的窗口,但在 Report Viewer 中没有显示任何内容,报告将是什么看起来更小.

The problem I have is that the block of Report Viewer, I mean, what is the repot container, not shown in the browser, open the window where is this embedded but not shown anything in the Report Viewer, what the report will look even less.

认为这可能是数据错误或其他原因,我尝试更改报告并放置一个空白,其中显示的所有内容都是文本,没有连接或类似的东西,并删除了不需要的代码代码落后,我刚刚停止加载报告.

Thinking it might be a data error or something, I tried to change the report and put a blank, where all that is shown is a text, and no connections or anything like that and removing the code that is not needed in the code behind, I just stopped loading the report.

在新的本地作品中,但在网络上发布,报告查看器仍然是

In new local works, but on the web published, the Report Viewer still be

有人可以帮帮我吗?我正在寻找有关它的一些信息,但我在相关论坛中发现,没有看到报告,但没有看到报告查看器.

Anybody can help me a bit? I looking for some information about it but what I find in forums related, is that the report is not seen, but nothing of Report Viewer.

非常感谢您.

PS:我已经检查了服务器日志是否有任何问题或 Asp.Net Crystal Reports 的错误,没有留下任何东西.

PS: I have checked the server log for error to any issue or Asp.Net Crystal Reports and not leave anything.

推荐答案

我有笑脸问题并找到了解决方案.

I have smiler problem and found a solution.

我认为从默认 Resource-Uri 中查找 Resource 以格式化水晶报表时存在一些问题.

I think there is some problem in finding Resource from default Resource-Uri for formatting of crystal report.

为了正确的格式将 C:inetpubwwwrootaspnet_clientsystem_web4_0_30319crystalreportviewers13 这个文件夹复制到您的项目中.

For proper formatting Copy C:inetpubwwwrootaspnet_clientsystem_web4_0_30319crystalreportviewers13 this folder into your project.

然后将这些行添加到您的 web.config 文件中

And past these lines into your web.config file

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

检查一下

这会对你有所帮助.

这篇关于SAP Crystal Reports Viewer 不显示在浏览器中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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