Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-12154: Cannot connect to database. Cannot find alias xyz.test.com.cn/xyz.test.com.cn in DataSources

Kenny WangDec 25 2025 — edited Dec 25 2025

ORA-12154: Cannot connect to database. Cannot find alias xyz.test.com.cn/xyz.test.com.cn in DataSources, , EZConnect. https://docs.oracle.com/error-help/db/ora-12154/

Hello, I am facing the strange problems:

My application could not work anymore even i have done nothing, just redeploy it. Error says the db connection string problem as above shows. This is my db connection string: “user id=xxxxx;password=xxxx;data source=xyz.test.com.cn/xyz.test.com.cn;Max Pool Size=2048;Connection Timeout=60;”. my oracle db is 19c.

Any problem with this string?

This post has been answered by Alex Keh-Oracle on Dec 26 2025
Jump to Answer
Comments
Post Details
Added on Dec 25 2025
1 comment
46 views