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!

Exception when OracleConnection.ClientInfo contains Umlaut

LeChuckOct 12 2020

We use OracleConnection.ClientInfo to set the CLIENT_INFO of the session. According to documentation, this value piggybacks with the next message to the Oracle server.
However, if ClientInfo contains any "Umlaut" characters (e.g. "ä", ö", "ü"), an exception is thrown whenever this next message to the server happens (e.g. on the next query).
We get an Oracle.ManagedDataAccess .Client.OracleConnection which has an inner exception of OracleInternal.Network.NetworkException which represents ORA-12537 Network Session: End Of File
var oracleConnection = new OracleConnection(connectionString);
oracleConnection.ClientInfo = "München"; // "Munich" would work
// next query gets an exception
CLIENT_INFO itself apparently supports Umlaut characters, because setting CLIENT_INFO in a stored procedure works and doesn't give an exception. This seems to be an issue inside the C# implementation.
I'm using the nuget "Oracle.ManagedDataAccess" 18.3.0
Thanks,
Markus

Comments

Alex Keh-Oracle

I was able to reproduce this issue in the latest managed ODP.NET 19.9. I filed bug 32016802 to track this issue and get it resolved. Thanks for reporting it.

1 - 1

Post Details

Added on Oct 12 2020
1 comment
528 views