Server Error in '/' Application.

query did not return a unique result: 8

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: 8

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: 8]
   NHibernate.Impl.AbstractQueryImpl.UniqueElement(IList list) +158
   NHibernate.Impl.CriteriaImpl.UniqueResult() +77
   Titebond.Repository.GetWithProperty(String property, Object value) in C:\Titebond2024downloadWill\Titebond\Database\Repository\Repository.Public.cs:190
   Titebond.ProductSkuDTO.ProductNameForPartNumber(String partNo) in C:\Titebond2024downloadWill\Titebond\Database\Aggregates\Products\ProductSkuDTO.cs:101
   Titebond.ResourcesModel.GetSDSForPartNumber(String partNo) in C:\Titebond2024downloadWill\Titebond\Application\Models\Site\Resources\ResourcesModel.cs:240
   Titebond.SiteKnowledgebaseSDSPresenter..ctor(ISiteKnowledgebaseSDSView view) in C:\Titebond2024downloadWill\Titebond\Application\Presenters\Site\Resources\SiteKnowledgebaseSDSPresenter.cs:18
   Titebond.Web._site.resources.sds.Page_Load(Object sender, EventArgs e) in C:\Titebond2024downloadWill\Titebond.Web\_site\resources\sds.aspx.cs:23
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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