水晶报告不在浏览器中显示 [英] crystal report not display in browser

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

问题描述

我已创建水晶报告但未在浏览器中显示。当我在aspx页面报表中查看设计视图时显示但是在浏览器报表中不显示。请给我一个解决方案。谢谢



I have create crystal report but not display in browser. when i view design view in aspx page report is display but in browser report are not display. please give me a solution. thanks

<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" Height="1202px" ReportSourceID="CrystalReportSource1" ToolPanelWidth="200px" Width="1104px" ToolPanelView="None" Visible="true"/>
<CR:CrystalReportSource runat="server" ID="CrystalReportSource1" Visible="true">

推荐答案

我认为从默认的Resource-Uri中找到资源存在一些问题格式化水晶报告。



正确格式化复制
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



这个文件夹进入你的项目。



并将这些行放到你的web.config文件中


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>





这会对你有所帮助



This will help you


非常感谢你正常工作


谢谢你..它的工作..



#HappyCoding
Thank u.. its work..

#HappyCoding


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

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