on 10-03-2021 7:21 PM
Hello everybody,
I have setup ODBC connection for my reports in my project. The reports pull data remotely from MySQL database server. Everything works well when the report is accessed on the server
But Crystal report keeps prompting for password when a client machine tries to run report even though I have setup ODBC DataSource Connection on each client.
Please find below ODBC DataSource Connection parameters for both server and clients
Server:
Data Source Name: MySQL Local Server
Description : MySQL Local Server
TCP/IP Server: localhost
Port:3306
User: xxxxxx
Password: xxxxxx
Database: xxxxxxxxx
Client:
Data Source Name: MySQL Local Server
Description : MySQL Local Server
TCP/IP Server: xxx.xxx.x.xx
Port:3306
User: xxxxxx
Password: xxxxxx
Database: xxxxxxxxx
Thanks in advance for your assistance
Crystal does not save the password with the report. Are you setting the password in your code? If not, you need to do so.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try SP 31:
As Dell noted we don't read the password from the DSN so you need to set it in code.
Or use a file DSN but that can be a security issue.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What SDK are you using?
What version of Crystal Reports are you using?
Is your app using 32 or 64 bit platform, ODBC client must use the same platform for your App to connect.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.