Server Error in '/' Application.

query did not return a unique result: 11

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: NHibernate.NonUniqueResultException: query did not return a unique result: 11

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NonUniqueResultException: query did not return a unique result: 11]
   NHibernate.Impl.AbstractQueryImpl.UniqueElement(IList list) +111
   NHibernate.Impl.AbstractQueryImpl.UniqueResult() +25
   BRB.Data.Impl.LuceneSubCategoryDao.getSubCategoryByFriendlyUrl(String friendlyUrl) +149
   CompositionAopProxy_5f1ca44f474b4320887fd810c3b455d1.getSubCategoryByFriendlyUrl(String friendlyUrl) +186
   BRB.Service.Impl.LuceneSubCategoryManager.getSubCategoryByFriendlyUrl(String friendlyUrl) +51
   BRB.Website.BookListings.BindSubCategory(BookFilters bookFilter, Boolean& shouldProcessSearch) +209
   BRB.Website.BookListings.BindBookFilter(BookFilters bookFilter) +256
   BRB.Website.BookListings.Page_Load(Object sender, EventArgs e) +1113
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
   System.Web.UI.Control.OnLoad(EventArgs e) +79
   System.Web.UI.Control.LoadRecursive() +130
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2850


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0