vs 2010中的SAP Crystal Report问题 [英] SAP crystal report problem in vs 2010

查看:105
本文介绍了vs 2010中的SAP Crystal Report问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经建立了一个网站,其中包含一些Crystal报表(SAP),该网站是在Visual Studio 2010(4.0框架作品)中创建的,并使用SAP Crystal报表.我已经制作了报告,当我从IDE(可视化工作室)查看报告时,它可以正常工作,但是我想使它生效,因此我在IIS(在我的机器上)上测试了报告,一切正常,但是在水晶报告中出现此错误::

Hello everyone,

I have made one website in which there are some crystal reports (SAP), the website is made in visual studio 2010 (4.0 frame work) and using SAP crystal reports. I have made the reports and it works fine when i view them from IDE (visual studio), but i want to make it live, so i tested the reports on IIS (on my machine), everything was working fine but in crystal reports i got this error::

Failed to open the connection. Details: [Database Vendor Code: 18456 ] Failed to open the connection. Details: [Database Vendor Code: 4060 ] Failed to open the connection. rptPOEntry {727AA589-A2A9-439D-BD8E-F100EDE04AC4}.rpt Details: [Database Vendor Code: 18456 ]



我用Google搜索了很多解决方案,但没有一个成功,我尝试了以下解决方案

请执行以下步骤:

1.在CR XI设计器中打开报告.

2.选择数据库->设置数据源位置.

3.将出现设置数据源位置"窗口,并在替换为"部分连接到数据库,然后通过单击更新"按钮将这些表替换为当前数据源中的表.

4.更新后,关闭设置数据源位置"窗口.

5.转到数据库"菜单,然后单击验证数据库",然后单击确定".

6.预览报告并保存报告.


但这对我无济于事...我想将其部署在服务器上.请让我知道我需要在服务器上配置的所有东西,也请让我知道如何解决计算机上发生的错误..(IIS)

请帮帮我...

预先感谢,
问候,
Krunal Panchal



I googled many solutions but none was successful, i tried the following solutions

Do the following steps:

1. Open the report in the CR XI designer.

2. Select Database -> Set Datasource Location.

3. Set Datasource Location window will appear and in the replace with section connect to the database and replace these tables with the tables in the current datasource by clicking the update button.

4. After updating close the Set Datasource Location window.

5. Go to ''Database menu'' and Click ''Verify Database'' and click on ’OK’.

6. Preview the report and the save the report.


But this was not helpful for me... I want to deploy it anyhow on the server. please let me know what all things i need to configure on the server and please also let me know how to resolve the error which occurred on my machine.. (IIS)

Please help me out ...

Thanks in advance,
Regards,
Krunal Panchal

推荐答案

您的错误是无法打开连接".而且您说它在开发中起作用,但在生产中不起作用.对我来说,这通常意味着您正在使用某处的连接信息,或者生产中不存在的路径或授权机构都不允许对其进行生产.如果您改善了问题,并添加了有关如何连接到报表以及如何连接报表和数据的更多信息,则代码项目偷偷摸摸的代码可能会为您提供更多帮助.
Your error is "Failed to open the connection." and you say it worked in development but not in production. To me that usually means that somewhere you are using connection information or a path that either doesn''t exist in Production or authorities do not allow production to it. If you Improve your questions and add more information about how you are connecting to the reports and how you are connecting the report and the data, perhaps the code project peeps can help you more.


这篇关于vs 2010中的SAP Crystal Report问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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