NHibernate.HibernateException: Illegal attempt to associate a collection with two open sessions

Google Groups | prabs | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    NHibernate.HibernateException: Illegal attempt to associate a collection with two open sessions

    Google Groups | 6 years ago | prabs
    NHibernate.HibernateException: Illegal attempt to associate a collection with two open sessions

    Root Cause Analysis

    1. NHibernate.HibernateException

      Illegal attempt to associate a collection with two open sessions

      at NHibernate.Collection.AbstractPersistentCollection.SetCurrentSession()
    2. NHibernate.Collection
      AbstractPersistentCollection.SetCurrentSession
      1. NHibernate.Collection.AbstractPersistentCollection.SetCurrentSession(ISessionImplementorsession)
      1 frame