Re: [fluent-nhib] Excepting caused by multiple requests after application start

2010-02-16 Thread James Gregory
Where and how are you creating your session factory? On Tue, Feb 16, 2010 at 3:06 PM, Schlaefisch 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

[fluent-nhib] Excepting caused by multiple requests after application start

2010-02-16 Thread Schlaefisch
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 a