Page 1 of 1

problem if username or password contains special characters

Posted: Fri 09 Mar 2012 10:22
by Tobsel

I use devart to Oracle in direct mode. The problem is that it is not possible to connect if the password contains characters like ä,ö,ü,Ä,Ö,Ü.

I always get the exception that the username or password is wrong. Connection works with others tools and the oracle client.


var conn = new OracleConnection();
conn.UserId = "löl";
conn.Password = "löl";
conn.Direct = true;
conn.Server = "";
conn.Sid = "schrempp";
conn.Port = 1521;
conn.Unicode = true;
var erg = conn.ConnectionString;

I tried to replace the "ö" with & # 2 4 6 ; like shown below but that doesnt solve the problem.

conn.UserId = "l& # 2 4 6 ;l";
conn.Password = "l& # 2 4 6 ;l";

Is there a solution for that problem?

Thank you very much

Posted: Thu 15 Mar 2012 13:11
by Pinturiccio
We have fixed the bug with unicode user names in the Direct mode in dotConnect for Oracle 6.70.302. For more information please refer to ... story.html

You can upgrade to the latest version if your subscription is valid. Otherwise, we recommend you upgrading to the latest version 6.70.311.