on 03-14-2024 10:26 PM
I want to run a Crystal Report report to export it to PDF, but it cannot connect to the HANA database, this is the code I have:
ConnectionInfo v_ConectarDB = new ConnectionInfo
{
ServerName = "DRIVER=HDBODBC32" + ";servernode={" + CapaDatos.CD_ConexionHanaClass.gServidor() + "}",
DatabaseName = CapaDatos.CD_ConexionHanaClass.gBase(),
UserID = CapaDatos.CD_ConexionHanaClass.gUsuario(),
Password = CapaDatos.CD_ConexionHanaClass.gClave()
};
I have already done many tests but I always get the message: The connection could not be opened
The server name looks odd.
Use the same connection info you use in Crystal Reports when connecting.
Try hard coding the log on info and see if that works
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
11 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.