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.  [ 1 post ] 
Author Message
 Post subject: Problem with Oracle.DataAccess.Client
PostPosted: Fri Nov 23, 2007 9:05 am 
Newbie

Joined: Fri Nov 23, 2007 8:59 am
Posts: 1
Hi, I'm new to NHibernate and I'm having what appears to be a very simple problem.

When I attempt to create an ISessionFactory object I receive an exception "Could not create the driver from Oracle.DataAccess.Client", I have added the Oracle.DataAccess.Client.dll file to my project and the file is in the bin directory along with the exe. I have found a few posts on this forum but none of them have answered my problem. This appears to be a very simple problem but I can't solve it. If anyone has any advice at all I would be most gratefull.

My config file looks like this:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section
name="hibernate-configuration"
type="System.Configuration.NameValueSectionHandler"
/>
</configSections>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
<session-factory>
<property name="hibernate.connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="hibernate.dialect">NHibernate.Dialect.OracleDialect</property>
<property name="hibernate.connection.driver_class">Oracle.DataAccess.Client</property>
<property name="hibernate.connection.connection_string">HIDDENproperty>
</session-factory>
</hibernate-configuration>
</configuration>


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

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.