开发者

unable to connect to oracle using nhibernate

开发者 https://www.devze.com 2023-03-09 04:53 出处:网络
I am trying to open oracle connection throug开发者_如何学运维h nhibernate : I use the following

I am trying to open oracle connection throug开发者_如何学运维h nhibernate :

I use the following Driver class = NHibernate.Driver.OracleDataClientDriver Dialact = NHibernate.Dialect.Oracle10gDialect

connection string = Data Source=ODOCLDN;User ID=uid;Password=pwd

My nhibernate configuration is working fine with MYsql and sql server .but not with oracle.

With the datasource, user and pwd mentioned in connection string, i am able to login using "SQL PLUS". but not using nhibernate !

Getting the following error : Invalid username / password, login is denied.

Please help


"Invalid username/password, login denied" message indicates that you have successfully connected to a database, but failed authentication. Either you've connected to the wrong database, or your userid/password is incorrect. Check the data source in the ODBC manager and make sure it points to the database you need.

0

精彩评论

暂无评论...
验证码 换一张
取 消