Run tnsping from command line, if that doesn't work, TM1 won't either.
tnsping <service_name or SID>
If tnsping works, try sqlplus as well to make sure the username/password are correct.
sqlplus username/password@service_name
------------------------------
JILL MACLAURIN
------------------------------
Original Message:
Sent: Fri March 15, 2024 02:11 PM
From: Sudeep Rimal
Subject: Unable to open connection to Database
Tried all these options, No success!!
------------------------------
Sudeep Rimal
------------------------------
Original Message:
Sent: Tue March 12, 2024 02:06 PM
From: Philippe CHAMPLEBOUX
Subject: Unable to open connection to Database
Several solution ...
Can solve by tour dba
1- Create a "system" environement variable TNS_ADMIN wich contain the full directoryPath where file tnsnames.ora is.
After restart your tm1 windows service
2- Ask to your DBA to make something in your Server (where is TM1) for averyone can connect using ODBC
Look at Configuring access to Oracle databases - IBM Documentation to have idea (In my opinion, just TNS_ADMIN is enough)
Regards,
Philippe
------------------------------
Philippe CHAMPLEBOUX
Original Message:
Sent: Tue March 12, 2024 01:25 PM
From: Sudeep Rimal
Subject: Unable to open connection to Database
Here is more detail of the Log i got
TM1.SQLAPI E16) Cannot connect to ODBC data source "XXX" SQLState: 08004 SQLMsg: [Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified
The DBA admin recently changed the TNS location as the ODBC manager in the host server. The ODBC manager then connected to the DB but the TM1 could not connect
Could there be anything that i can look into TM1
------------------------------
Sudeep Rimal
Original Message:
Sent: Tue March 12, 2024 03:47 AM
From: Luc Cusiel
Subject: Unable to open connection to Database
Hi Sudeep, have you checked the Message Log for errors? Kind regards, Luc
------------------------------
Luc Cusiel