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

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

问题描述

我拥有一个框架4.5的ASP.NET web项目。



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



我的问题是,报告查看器的块,我的意思是什么是repot容器,没有显示在浏览器中,打开窗口在哪里嵌入,但没有显示任何东西在报告查看器,什么报告将看起来更少。



我认为这可能是一个数据错误或者什么,我试图更改报告,并将一个空白,其中显示的是一个文本,没有连接或



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



任何人都可以帮助我一点?我寻找一些关于它的信息,但在论坛相关的是,报告是没有看到,但没有报告查看器。



非常感谢你



PS:我已经检查服务器日志以查找任何问题或Asp.Net Crystal Reports的错误。



我认为有一个问题,在寻找资源从默认 Resource-Uri 用于格式化Crystal报表。



正确格式化
复制 C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13 将此文件夹导入您的项目。



并将这些行添加到您的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/>
< / sectionGroup>
< / configSections>





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

查看此



会帮助你。


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

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

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.

Thank you very so much in advance.

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.

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

For proper formatting Copy C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13 this folder into your project.

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>

Check this

This will help you.

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

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