简体   繁体   中英

ORA-12532: TNS:invalid argument

My applicatino is giving ORA-12532: TNS:invalid argument exception. My app is in C# and I am using ODP.Net to connect to oracle database.

I googled for this error but couldnt find much information. I found this page where it says this error occures when internal method receives invalid parameters. I am not sure how to regenerate this exception as this error has occured on client's enviornment and my app works fine on my enviornment.

Has anyone encountered this error? How to avoid this error?

Likely causes:

  • Invalid TNS names configuration (check the tnsnames.ora files)

  • Prolematic characters in the password (in particular the @ sign can cause problems)

  • Too strict firewall rules (unable to connect to port 1521)

这里开始,您的 TNS 条目可能配置错误,或者系统帐户之一的密码中有一个特殊字符(如@ )。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM