Crystal Report在网站上没有运作 [英] Crystal Report not working in website

查看:84
本文介绍了Crystal Report在网站上没有运作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们开发了一个网站并查看我们使用Crystal Report的报告。

它在开发环境(本地系统)中工作得很完美,但在托管生产服务器(Web服务器)水晶报告时没有正常工作。错误是bobj未定义。我们已经在C:\inetpub \wwwroot \aspnet_client \ system_web \4_0_30319中复制了crystalreport13。

修改了根网站配置文件



We have developed a website and for viewing reports we used Crystal Report for that.
Its working perfect in development environment (local system), but when hosting over Production server (Web server) crystal reports are not working properly.The error is bobj is undefined.We have copied the crystalreport13 in C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319.
Modified the root web config file to

<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"/>
                  <sectionname="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>







但没有用。

推荐答案

在您的网络服务器中安装以下exe文件



64位服务器



https://code.google.com/p/cims2/downloads/detail?name=CRRedist2005_X64.msi&can=2&q= [ ^ ]




https://code.google.com/p/cims2/downloads/detail?name=CRRedist2005_x86.msi&can=2&q= [ ^ ]
Install the below exe in your web server

for 64 bit server

https://code.google.com/p/cims2/downloads/detail?name=CRRedist2005_X64.msi&can=2&q=[^]

for 32 bit server
https://code.google.com/p/cims2/downloads/detail?name=CRRedist2005_x86.msi&can=2&q=[^]


通过评论以下行。水晶报告工作正常。



By commenting the below line. crystal report working perfectly.

<add key="ResourceUri" value="~/crystalreportviewers13" />


您看到的是否有任何错误消息?您能否再次检查CR已经预先安装在您的服务器上?然后,请检查这一点:



1.请确保以本地服务身份运行它。

2.复制CRViewer和aspnetclient文件夹到您的网站

3.请不要忘记授予完全许可。



希望它有帮助
Is there any error message that you see? Could you please kindly check once again that CR has been installed preoperly on your server? Then, please check this point too:

1. Please make sure that you run it on Local Service identity.
2. Copy CRViewer and aspnetclient folder to your site
3. Please dont forget to grant full permission.

Hope it helps


这篇关于Crystal Report在网站上没有运作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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