Where and how are you creating your session factory? On Tue, Feb 16, 2010 at 3:06 PM, Schlaefisch <schlaefi...@googlemail.com>wrote:
> Hi, > > we're using fluent NHibernate within a SharePoint 2007 WebPart. > Everything works fine except for one problem: > > If we reset the web server and 2 (or more) users try to browse the > WebPart, the session factory is created twice at the same time, > resulting in a null reference exception. > > Is there any standard approach to prevent this? > > -- > You received this message because you are subscribed to the Google Groups > "Fluent NHibernate" group. > To post to this group, send email to fluent-nhibern...@googlegroups.com. > To unsubscribe from this group, send email to > fluent-nhibernate+unsubscr...@googlegroups.com<fluent-nhibernate%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/fluent-nhibernate?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to fluent-nhibern...@googlegroups.com. To unsubscribe from this group, send email to fluent-nhibernate+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en.