-->
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.  [ 6 posts ] 
Author Message
 Post subject: 1.2.0 possible bug
PostPosted: Tue Jun 13, 2006 10:00 am 
Regular
Regular

Joined: Thu May 11, 2006 12:30 pm
Posts: 72
Hibernate version: 1.2.0.1001

Mapping documents:
App.config
---
<configSections>
<section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=1.2.0.1001,Culture=neutral,PublicKeyToken=b77a5c561934e089" />
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
</configSections>
<connectionStrings>
<add name="CUP.Properties.Settings.ConnectionString" connectionString="Data Source=mydbsource;User ID=myuser;Password=mypassword;Unicode=True"
providerName="System.Data.OracleClient" />
</connectionStrings>
<nhibernate>
<add key="hibernate.connection.provider" value="NHibernate.Connection.DriverConnectionProvider" />
<add key="hibernate.dialect" value="NHibernate.Dialect.Oracle9Dialect" />
<add key="hibernate.connection.driver_class" value="NHibernate.Driver.OracleDataClientDriver" />
<add key="hibernate.connection.connection_string" value="Data Source=mydbsource; User Id=myuser; Password=mypassword;" />
<add key="hibernate.show_sql" value="true" />
</nhibernate>

Full stack trace of any exception that occurs:
Exception : {"Could not create the driver from NHibernate.Driver.OracleDataClientDriver."}
Stack trace :
in NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary settings) in c:\net\nhibernate\nhibernate\src\NHibernate\Connection\ConnectionProvider.cs:riga 84
in NHibernate.Connection.ConnectionProvider.Configure(IDictionary settings) in c:\net\nhibernate\nhibernate\src\NHibernate\Connection\ConnectionProvider.cs:riga 56
in NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider(IDictionary settings) in c:\net\nhibernate\nhibernate\src\NHibernate\Connection\ConnectionProviderFactory.cs:riga 50
in NHibernate.Cfg.SettingsFactory.BuildSettings(IDictionary properties) in c:\net\nhibernate\nhibernate\src\NHibernate\Cfg\SettingsFactory.cs:riga 61
in NHibernate.Cfg.Configuration.BuildSettings() in c:\net\nhibernate\nhibernate\src\NHibernate\Cfg\Configuration.cs:riga 1485
in NHibernate.Cfg.Configuration.BuildSessionFactory() in c:\net\nhibernate\nhibernate\src\NHibernate\Cfg\Configuration.cs:riga 1000
in CUP.SessionHelper..cctor() in C:\Documents and Settings\luke\Desktop\CUP\CUP\NHibernate\SessionHelper.cs:riga 16
Name and version of the database you are using:Oracle 10g


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 13, 2006 12:18 pm 
Newbie

Joined: Mon Jun 12, 2006 8:44 am
Posts: 13
I had the same problem. You have to change the security permissions in the oracle folder. Unmark the Read & Execute permission for the Users group then mark it again. Boot your comp.
It's a win xp bug.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 13, 2006 1:33 pm 
Expert
Expert

Joined: Thu Jan 19, 2006 4:29 pm
Posts: 348
vintem wrote:
I had the same problem. You have to change the security permissions in the oracle folder. Unmark the Read & Execute permission for the Users group then mark it again. Boot your comp.
It's a win xp bug.


I would assume it to be Oracle installer bug, as it does not set file/folder permissions properly.

Gert

_________________
If a reply helps You, rate it!


Top
 Profile  
 
 Post subject: .
PostPosted: Wed Jun 14, 2006 9:04 am 
Regular
Regular

Joined: Thu May 11, 2006 12:30 pm
Posts: 72
i tried your suggestion but i'm getting the same error message

i did it on c:\oracle folder in my client installation, right ?


Top
 Profile  
 
 Post subject: Re: .
PostPosted: Wed Jun 14, 2006 10:31 am 
Expert
Expert

Joined: Thu Jan 19, 2006 4:29 pm
Posts: 348
berets wrote:
i tried your suggestion but i'm getting the same error message

i did it on c:\oracle folder in my client installation, right ?

Try to click "advanced" button on security tab, check "Replace permission entries on all child....." and Ok (or apply)

Gert

_________________
If a reply helps You, rate it!


Top
 Profile  
 
 Post subject: .
PostPosted: Wed Jun 14, 2006 10:50 am 
Regular
Regular

Joined: Thu May 11, 2006 12:30 pm
Posts: 72
already did...

but the problem is in my oracle client installation ? why with 1.0.2 i've no exception ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 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.