c# - Invalid login credentials when using Oracles OracleConnection but not Systems -


i use following code connect oracle database:

using (oracle.dataaccess.client.oracleconnection cn =            new oracle.dataaccess.client.oracleconnection(                "data source=abcsource;user id=abcuserid;password=abcpassword;")); {      cn.open();  } 

but error 

invalid login credentials

while if try following code succeed.

using (system.data.oracleclient.oracleconnection cn =             new system.data.oracleclient.oracleconnection(                "data source=abcsource;user id=abcuserid;password=abcpassword;"));   {      cn.open();   } 

i dont understand, happening?


Comments

Popular posts from this blog

ios - UITEXTFIELD InputView Uipicker not working in swift -

Hatching array of circles in AutoCAD using c# -