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

**URL:** <https://community.cdata.com/t/license-error-when-using-trial-version-of-salesforce-odbc-driver-on-linux/96>\
**Category:** CData Drivers\
**Tags:** question, salesforce, odbc, linux-unix\
**Created:** [March 23, 2023, 10:21pm UTC](https://community.cdata.com/t/license-error-when-using-trial-version-of-salesforce-odbc-driver-on-linux/96 "2023-03-23T22:21:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Garrus\_Birdman](https://avatars.discourse-cdn.com/v4/letter/g/5daacb/32.png) [@Garrus\_Birdman](https://community.cdata.com/u/Garrus_Birdman)\
**Post date:** [March 23, 2023, 10:21pm UTC](https://community.cdata.com/t/license-error-when-using-trial-version-of-salesforce-odbc-driver-on-linux/96/1 "2023-03-23T22:21:38Z")

</div>

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](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&nbsp;on this system. &nbsp;To obtain a trial license, please visit [www.cdata.com](http://www.cdata.com) or email [sales@cdata.com](mailto: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?

---

<div class="post-metadata">

**Author:** ![Garrett\_Bird](https://avatars.discourse-cdn.com/v4/letter/g/77aa72/32.png) [@Garrett\_Bird](https://community.cdata.com/u/Garrett_Bird)\
**Post date:** [March 23, 2023, 10:30pm UTC](https://community.cdata.com/t/license-error-when-using-trial-version-of-salesforce-odbc-driver-on-linux/96/2 "2023-03-23T22:30:32Z")

</div>

It seems the article you linked overlooked an important step to manually activate the trial license. This step is documented our online documentation (see “[CData ODBC Driver for Salesforce - Linux DSN Configuration](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,&nbsp;the user has to do so manually themselves.

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

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