Thread:
 NHibernate configuration section 
 mrkashifali   13 Sep 2006, 06:31 
 Re: NHibernate configuration section 
 wowarjuna   01 Jan 2008, 14:17 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: wowarjuna (01 Jan 2008, 14:17) Replies: 0, Views: 970
Subject: Re: NHibernate configuration section
POST QUESTIONS ON THE FORUM! COMMENTS HERE SHOULD ADD VALUE TO THE
PAGE!On 13 Sep 2006 06:31, mrkashifali wrote:

>After following the Quick Start Guide I am getting an ERROR:

>The hibernate.connection.driver_class must be specified in the
>NHibernate configuration section

>I have clearly declare the hibernate.connection.driver_class Key in
>app.config file:

> <add key="hibernate.connection.driver_class"
>value="NHibernate.Driver.SqlClientDriver" />

>I am stucked up with this. Kindly help to solve this prob.

>Thanks,

>KK

Hi

I thinks this is not the problem in the key value pair. Check the type
value of section tag. This suppose to be 

<section
      name="nhibernate" 
      type="System.Configuration.NameValueSectionHandler, System,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" 
    />

Regards,
wowarjuna
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]