开发者

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)


From here it's possible your TNS entry is misconfigured, or that one of the system accounts has a special character in the password (like @).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜