Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

ODBC / OLE DB connections fail with error "Null password given" when reloaded in a Qlik Sense reload task

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

ODBC / OLE DB connections fail with error "Null password given" when reloaded in a Qlik Sense reload task

Last Update:

Apr 29, 2021 4:19:29 AM

Updated By:

Sonja_Bauernfeind

Created date:

Jun 30, 2017 10:25:21 AM

Qlik Sense app containing OLEDB / ODBC connectors fails during a scheduled reload or a relaod trigger in the Qlik Sense Management console with the error:

ORA-01005: null password given; logon denied

The same app reloads successfully in the Data Load Editor.

 

Environment:

Qlik Sense Enterprise on Windows 

 

Resolution

 

Review the Repository security trace logs to see if any errors similar to the following are reported:
 
ERROR RIMNODE1 Security.Repository.Repository.Domain.Util.EncryptionHelper 70 8951651c-f44a-4178-a262-400944b8651d domain\qvsrv Not possible to decrypt encrypted string in database; this is probably due to the secrets key on server certificate has been changed and the old database value hasn't; sending back empty result and leaving the value unchanged in database Checksum error at Qlik.Sense.Common.Security.Cryptography.CryptoKey.StripAndVerifyChecksum(Byte[] input)


If this is the case, consider one of the following solutions:

  1. Create the same ODBC / OLE DB connection in QlikView Desktop - most ideally installed in the same server with Qlik Sense. Copy connection string including XPassword from QlikView and replace the connection string of the ODBC / OLE DB connection in Qlik Sense QMC > Data connections.

    Connection String ODBC Connect To.png

  2. Redistribute certificate from Central node to Rim nodes that handle reloads as instructed in Rim node not communicating with central node - certificates not installed correctly. This may require reinstalling Qlik Sense services on the Rim nodes and re-registering the RIM nodes (see RIM node registration or connection fails: cannot reach host)

 

 

Cause:


When a data connection is created, the provided password is stored as an encrypted string in table DataConnections of Qlik Sense Repository database. This issue happens when a RIM node handling app reloads fail to decrypt password strings from the central Repository database, most likely because its certificate doesn't match the certificate used by the Central node.

Labels (2)
Contributors
Version history
Last update:
‎2021-04-29 04:19 AM
Updated by: