CPM - ODBC - State: IM002 Native error:...Data source name not found and no default driver specified

CPM - ODBC - State: IM002 Native error:...Data source name not found and no default driver specified

220
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 12:59 PM


Symptom


When the CPM attempts to change a password to an Oracle DB the following error is received:
"State: IM002 Native error: 0 Message: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified


Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0;14.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)
  • CPM
  • Oracle DB


Cause


  1. DSN was defined as User DSN. The CPM works when you are logged on to the machine, and will not work when you are testing it from another machine.
  2. In the Policy the ConnectionStringFile parameter is disabled (commennted out) and the DSN is not
  3. The Driver name in the OracleConnectionString.txt is different from the driver installed on the machine
    Note: Verify which connection string file is used by looking in the policy file for the ConnectionStringFile parameter


Resolution


  1. Make sure the DSN is defined as SYSTEM DSN
  2. Reverse it - i.e.: disable (comment out) the DSN parameter and enable (un-comment) the connection string parameter in the policy making sure it points to the right connection string file
  3. Change the Driver name to match the installed driver. You can find the installed driver by going to Administrative Tools | Data sources (ODBC) | click "Add" and look for the Oracle driver.


Additional Information


Details

SYMPTOM:
When the CPM attempts to change a password to an Oracle DB the following error is received: "State: IM002 Native error: 0 Message: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

PROBLEM
:
  1. DSN was defined as User DSN. The CPM works when you are logged on to the machine, and will not work when you are testing it from another machine.
  2. In the Policy the ConnectionStringFile parameter is disabled (commennted out) and the DSN is not
  3. The Driver name in the OracleConnectionString.txt is different from the driver installed on the machine
    Note:
    Verify which connection string file is used by looking in the policy file for the ConnectionStringFile parameter
SOLUTION:
  1. Make sure the DSN is defined as SYSTEM DSN
  2. Reverse it - i.e.: disable (comment out) the DSN parameter and enable (un-comment) the connection string parameter in the policy making sure it points to the right connection string file
  3. Change the Driver name to match the installed driver. You can find the installed driver by going to Administrative Tools | Data sources (ODBC) | click "Add" and look for the Oracle driver.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000oCxCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail