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
"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
-
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.
-
In the Policy the ConnectionStringFile parameter is disabled (commennted out) and the DSN is not
-
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
-
Make sure the DSN is defined as SYSTEM DSN
-
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
-
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:
- 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.
- In the Policy the ConnectionStringFile parameter is disabled (commennted out) and the DSN is not
- 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
- Make sure the DSN is defined as SYSTEM DSN
- 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
- 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.