Oracle password with Special Charaters

oracle India
  • 16 years ago

    Hi All,


    We have a com object(Dll in MTS) where in we open a ADODB connection to a Oracle 8i/9i DB.


    The connection works fine with normal passwrods(No special Charaters) and fails to connect if we use special charater in the password for Oracle e.g user name = Guru Password =kne#a7T+=/+asq, it works fine if I remove the "+"  "=" "/" sign from the password.


    Error comes on the statement Conn.open Sconstring.


    Error = [Microsoft][ODBC driver for Oracle]Failure in DTC: not able to validate open information


    Where Sconstring value is Provider=MSDASQL;Data Source=MTS2;User ID=CZECH;password =kne#a7T+=/+asq
    Where "MTS2" is the system DSN of type Microsoft ODBC for Oracle.


    Also the same connection can be opened with out any errors in a standars project, where the oracle password has special charaters, but fails when we try to open the connections from a com object runnig under MTS.


    App server ( where the Com object is that has the code to open the conneciton)
    MDAC 2.6
    OS Win 2000
    Oracle 8i/9iClient


    Client
    MDAC 2.6
    OS Win 2000



    Thanks,
    Guru Prashad

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“God could create the world in six days because he didn't have to make it compatible with the previous version.”