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: NHibernate.Cfg.Environment.LoadGlobalPropertiesFromAppConfig
PostPosted: Thu Feb 05, 2009 11:56 am 
Newbie

Joined: Thu Feb 05, 2009 11:39 am
Posts: 1
I have downloaded NHibernate solution from https://nhibernate.svn.sourceforge.net/ ... hibernate/. And folowed rest of instructions at http://www.hibernate.org/428.html, I opened NHibernate-2.0.sln and added Web Application, and I followed instrutions from http://www.hibernate.org/hib_docs/nhibe ... tart-intro

Only difference is that I use MSSQL Server 2005 and my database is named Aco, also assembly name is not quickstart but WebApplication1. And that informations I enterend into Web.config. When I run example it says
The type initializer for 'WebApplication1.NHibernateHelper' threw an exception.
And it breaks in NHibernate\Cfg\Environment.cs at Line 215: foreach (KeyValuePair<string, string> kvp in nhConfig.SessionFactory.Properties)

Any idea?


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.