-->
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: Error Loading NHibernate.CFG
PostPosted: Fri Jan 08, 2010 1:09 pm 
Newbie

Joined: Fri Jan 08, 2010 1:04 pm
Posts: 2
new to hibernate, i am working on a tutorial.
When i compile my project I am catching the following exception:
An error occurred creating the configuration section handler for hibe
rnate-configuration: Could not load type 'NHibernate. Cfg. ConfigurationSectionH
andler' from assembly 'NHibernate'. (C:\Documents and Settings\sdejesus\My Docum
ents\Visual Studio 2008\Projects\HelloHibernate\HelloHibernate\bin\Debug\HelloHi
bernate.vshost.exe.Config line 4)

not sure how to resovle this or even what to look for.
any help would be great. thanks!


Top
 Profile  
 
 Post subject: Re: Error Loading NHibernate.CFG
PostPosted: Sat Jan 23, 2010 6:29 am 
Newbie

Joined: Tue Jan 05, 2010 12:15 pm
Posts: 9
make sure you have no spaces in your type name in the app.config. For me it looks like you have NHibernate. Cfg. ConfigurationSectionHandler instead of NHibernate.Cfg.ConfigurationSectionHandler


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.