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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Oracle.ManagedDataAccess.Core 23.4.0 causes ORA-00303: syntax error in NV string and I can't connect to my Oracle Instance

Stefano D'OnofrioJun 20 2024 — edited Jun 20 2024

As per title Oracle.ManagedDataAccess.Core 23.4.0 causes ORA-00303: syntax error in NV string when opening a connection to the Oracle Instance .

Digging a bit into it we found that is because I have my windows account contains an aphostrofe in it.

More specifically when in the AddressResolution constructor you are using NVFactory to generate a NVPair, you parse a tnsAddress passed as parameter. If in the tnsAddress there is an aphostrofe, it will throw a OracleInternal.Network.NetworkException ORA-00303: syntax error in NV string exception. I think we need to downgrade to the previous version (3.21.140) for now because we think the library is unusable by anyone having the aphostrope in the Host Account but would be amazing if you can fix it.

Comments

Post Details

Added on Jun 20 2024
13 comments
599 views