-->
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: failed to lazily initialize a collection - prod vs dev
PostPosted: Mon Oct 03, 2011 11:53 am 
Newbie

Joined: Mon Oct 03, 2011 11:45 am
Posts: 1
I recently inherited an NHibernate application ASP.NET 2.0, C# running against SQL Server 2005. I am totally new to NHibernate.

The problem I have is that running against the production database everything works and running against the development database does not. I get "failed to lazily initialize a collection" running against the development database. The code is the same - only the connection strings change.

The application is not a complex one and the database tables in both environments look the same to me.

I would appreciate any and all helpful suggestions on how to move past this issue.

Thanks


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.