-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Oracle error: must have 8.1.7 or greater
PostPosted: Thu Sep 08, 2005 5:20 pm 
Newbie

Joined: Thu Sep 08, 2005 5:09 pm
Posts: 1
When using Oracle I am getting this error:
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.

I was able to successfully integrate NHibernate with MS SQL Server as PostgreSQL but am having all sorts of trouble with Oracle.
Here is an exerpt from my configuration file:

There seems to be a problem here:
<add key="hibernate.dialect" value="NHibernate.Dialect.OracleDialect" />
<add key="hibernate.connection.driver_class" value="NHibernate.Driver.OracleClientDriver" />
<add key="hibernate.connection.connection_string" value="Data Source=glen;User ID=glen;Password=glen;" />

Here is my working MS SQL configuration:
<add key="hibernate.dialect" value="NHibernate.Dialect.MsSql2000Dialect" />
<add key="hibernate.connection.driver_class" value="NHibernate.Driver.SqlClientDriver" />
<add key="hibernate.connection.connection_string" value="server=test;database=nhibernate;uid=nhibernate;pwd=nhibernate;" />

Any ideas or suggestions are greatly appreciated.

-Alan


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 08, 2005 5:50 pm 
Beginner
Beginner

Joined: Wed Jun 01, 2005 3:22 pm
Posts: 38
Location: Menlo Park, CA
Does database connectivity with Oracle work using standard ADO.NET? This error is coming from ADO.NET, not NHibernate.

There are a couple of causes for this error. The obvious one is that you need Oracle Client 8.1.7 or greater installed. If you're using the Oracle-provided libraries, I believe you need the 9 client or later installed.

Furthermore, the Oracle Universal[ly hated] Installer messes up the permissions on the directory. You must make sure that the ASPNET user (or whatever user your process will be running under) has Read,List,Execute on the ORACLE_HOME, ORACLE_HOME/Network/Admin, and ORACLE_HOME/bin folders.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.