在其他计算机上报告“无法打开连接”

时间:2017-01-23 13:14:17

标签: mysql crystal-reports

我的应用程序生成一个报告,该报告从mySQL服务器提取数据。它在我的机器上工作正常,但其他机器找不到运行时。安装后,我收到一个错误,它无法在另一台机器上打开连接。

我是否必须安装ODBC运行时并在我要安装应用程序的每台计算机上添加到ODBC的连接?或者有更好的方法吗?

1 个答案:

答案 0 :(得分:0)

如果您正在使用OBDC连接,那么:

1. You need to set up the connection again in other machine by using administrative tools, in addition too.. install odbc driver also.
2. Connection name can be the same with your local machine so that you don't need to update the connection name on your crystal report.
3. if you are using a hard code connection to your crystal report upon logging in then you need to open your project of course to update the connection.
祝你好运。