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: NHibernate error with asp.net application
PostPosted: Fri Oct 09, 2009 8:07 am 
Newbie

Joined: Fri Oct 09, 2009 7:17 am
Posts: 2
I'm working on an Nhibernate project and I'm having problem getting my asp.net version to work. The console and form versions work just fine but when I try running the exact same code in an aspx page, i get the following error:

An exception occurred during configuration of persistence layer.

I've been banging my head on this for two days, reading everything I can. I'm using .net 3.5 but the problem exists with .net 2.0 as well.

One solution was to specify the cfg.xml file name in the .configure function but that has not helped.

Has anyone else run into this problem?


Top
 Profile  
 
 Post subject: Re: NHibernate error with asp.net application
PostPosted: Fri Oct 09, 2009 8:40 am 
Newbie

Joined: Fri Oct 09, 2009 7:17 am
Posts: 2
All i had to do was post here and i solved it!

I was not specifying the full path name name for my hibernate.cfg.xml file in the .configure() function.


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.