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 @
).
精彩评论