c# - Crystal 报表错误。打开连接失败

标签 c# mysql asp.net crystal-reports web-deployment-project

我在 Crystal Report 中遇到问题。我在一台服务器上有 MySQL 数据库,在另一台服务器上有 asp.net C# 网站。我的网站可以很好地显示一些报告,但其他报告显示以下错误。 所有 Crystal Reports 在本地主机上运行良好。

错误: Failed to open the connection. Failed to open the connection. ADP_ReportSR1 253736_80084_{B18FB39E-5489-4D73-ACAE-50ACE7A17E83}.rpt

最佳答案

检查报告中引用的数据源。

Solution: Failed to Open the Connection

The computer has to be configured to connect to the datasource referenced in the report.

Setup the system the same way as the computer used to design the reports. Install the same database drivers [...]. Give them the same name.

另请参阅 Crystal: Failed to open ConnectionError: Failed To Open The Connection .

关于c# - Crystal 报表错误。打开连接失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43278254/

相关文章:

mysql - MySQL Count子查询

asp.net - asp.net 网络路由中两个页面的相同 url

c# - asp.net 如何去掉文本框开头的空格

sql - SQL中,如何获取某列排序的前N行?

c# - 如何提高.NET Windows应用程序中保存多行的效率?

c# - 无需通过电子邮件发送密码即可恢复密码

c# - 使用 EntityFramework.Core 从自引用表加载完整层次结构

mysql - 使用 spring 框架的 jdbcTemplate 进行复杂的过滤

asp.net - 如何禁用表单例份验证

c# - 保护客户端json