Quantcast
Channel: NHibernate exception "Session is closed! Object name: 'ISession'." - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by vapcguy for NHibernate exception "Session is closed! Object name:...

We had this same issue. Changing the App Pool Managed Pipeline to Classic solved it for us.

View Article



Answer by Berryl for NHibernate exception "Session is closed! Object name:...

I am guessing you are wrapping your session in a using construct more than once, something like below. Can you post some of your session usage code?HTH,BerrylWrong - the session is closed after the...

View Article

Answer by UpTheCreek for NHibernate exception "Session is closed! Object...

As the error says - it looks like you are trying to save an object when your ISession is closed. Are you sure you are opening it? Or perhaps it is being closed prematurely?Update:Have you checked the...

View Article

NHibernate exception "Session is closed! Object name: 'ISession'."

I am getting the folloinwg error from NHibernate:System.ObjectDisposedException: Session is closed! Object name: 'ISession'. at NHibernate.Impl.AbstractSessionImpl.ErrorIfClosed() at...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images