Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Vivek 2 posts 22 karma points
    Sep 08, 2014 @ 18:39
    Vivek
    0

    System.ObjectDisposedException: Session is closed!

    Hi All,

     

    We are facing the below expection now and then, this happens when we invoke the courier service for promoting a page. It gets resolved after app pool recycle, can you please let us know the root cause for this error? 

    The database is a shared one , is it the cause? 

    Any help would be much appreciated 

    • Umbraco Version - 7
    • asp.net version - 4
    • Windows and iis version - Windows 2008 IIS 7.5
    • Stacktrace - posted below
    • A detailed description of what you did before the issue happened - posted above

     

     Umbraco.Courier.Core.Exceptions.RetrieveException: Error retrieving item [xxxx] from provider [xxxxx]. ---> System.ObjectDisposedException: Session is closed!
    Object name: 'ISession'.
       at NHibernate.Impl.AbstractSessionImpl.ErrorIfClosed()
       at NHibernate.Impl.AbstractSessionImpl.CheckAndUpdateSessionStatus()
       at NHibernate.Impl.AbstractSessionImpl.CreateQuery(IQueryExpression queryExpression)
       at NHibernate.Linq.NhQueryProvider.PrepareQuery(Expression expression, IQuery& query, NhLinqExpression& nhQuery)
       at NHibernate.Linq.NhQueryProvider.Execute[TResult](Expression expression)
       at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
       
       --- End of inner exception stack trace ---
  • Vivek 2 posts 22 karma points
    Sep 08, 2014 @ 18:58
    Vivek
    0

    Umbraco version is 6.1.6

Please Sign in or register to post replies

Write your reply to:

Draft