Solved

License error when using trial version of Salesforce ODBC driver on Linux

  • 23 March 2023
  • 1 reply
  • 82 views

Badge

I am following the guide in “https://community.cdata.com/how-to-with-cdata-72/using-cdata-odbc-drivers-in-mac-linux-unix-environments-138” to try and install/configure the ODBC driver for Salesforce in our Dev Linux server. For the most part, the steps went smoothly. However, when I finally tried to query with the driver, I keep getting this error about needing a trial license:

 

Could not find a valid license for using CData ODBC Driver for Salesforce 2022 on this system.  To obtain a trial license, please visit www.cdata.com or email sales@cdata.com [code: G nodeid: 5E1NWBN8].If you believe you already have a license, please check the following path(s):/opt/cdata/cdata-odbc-driver-for-salesforce/lib/CData.ODBC.Salesforce.lic, /home/garrusb/.cdata/CData.ODBC.Salesforce.lic.

 

Shouldn’t the rpm package I used have installed this trial license already?

icon

Best answer by Garrett Bird 23 March 2023, 23:30

View original

1 reply

Userlevel 1
Badge

It seems the article you linked overlooked an important step to manually activate the trial license. This step is documented our online documentation (see “https://cdn.cdata.com/help/RFH/odbc/pg_connectionodbclinux.htm#licensing-the-driver”). Unfortunately, there are limitations in our DEB and RPM deliverables that do not make automatic trial activation feasible. Therefore, the user has to do so manually themselves.

 

All you have to do is to open the terminal and run the following commands in sequence. Doing so should generate the lic file mentioned in your error message:

 

cd /opt/cdata/cdata-odbc-driver-for-salesforce/bin/
sudo ./install-license.sh

Reply