Server Error in '/' Application.

Q.Object.Storage.Persistent.DB.Support.IPersistantSupport - Load. Fail to load object. Query performed :  SELECT QEC_PC_PageTitle,QEC_PC_MetaDescription,QEC_PC_MetaKeywords,QEC_PC_QEC_CTLG_Id,QEC_PC_Order,QEC_PC_Name,QEC_PC_Parent_QEC_PC_Id FROM sinapsi.Q_EC_ProductCategory WITH(NOLOCK) WHERE  QEC_PC_Id = 440

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: Q.Object.Storage.Persistent.DB.Support+NoRowException: Q.Object.Storage.Persistent.DB.Support.IPersistantSupport - Load. Fail to load object. Query performed :  SELECT QEC_PC_PageTitle,QEC_PC_MetaDescription,QEC_PC_MetaKeywords,QEC_PC_QEC_CTLG_Id,QEC_PC_Order,QEC_PC_Name,QEC_PC_Parent_QEC_PC_Id FROM sinapsi.Q_EC_ProductCategory WITH(NOLOCK) WHERE  QEC_PC_Id = 440

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:


[NoRowException: Q.Object.Storage.Persistent.DB.Support.IPersistantSupport - Load. Fail to load object. Query performed :  SELECT QEC_PC_PageTitle,QEC_PC_MetaDescription,QEC_PC_MetaKeywords,QEC_PC_QEC_CTLG_Id,QEC_PC_Order,QEC_PC_Name,QEC_PC_Parent_QEC_PC_Id FROM sinapsi.Q_EC_ProductCategory WITH(NOLOCK) WHERE  QEC_PC_Id = 440 ]
   Q.Object.Storage.Persistent.DB.Support.Q.Object.Storage.Persistent.IPersistantSupport.Load(Object instance, Identification identification, Schema schema) in C:\Projects\Evolvis\Qs\Q-DAL\Persistance\Db\MS Sql\Support.cs:661
   Q.Object.Activator.Activator.ActivateObject(Type type, Identification identification) in C:\Projects\Evolvis\Qs\Q-DAL\Activator\Activator.cs:382
   Q.Object.Activator.Activator.ActivateObject(Object singleIdentificationValue) in C:\Projects\Evolvis\Qs\Q-DAL\Activator\Activator.cs:340
   Sinapsi.ECommerce.UI.Implementors.Categories.GetById(String id) +63
   ASP.content_u_categorysidemenu_ascx.get_CurrentCategory() +168
   ASP.content_u_categorysidemenu_ascx.IsSubCategory(ICategory category) +17
   ASP.content_u_categorysidemenu_ascx.__DataBind__control4(Object sender, EventArgs e) +106
   System.Web.UI.Control.OnDataBinding(EventArgs e) +84
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +150
   System.Web.UI.Control.DataBind() +17
   System.Web.UI.Control.DataBindChildren() +185
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +160
   System.Web.UI.Control.DataBind() +17
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +126
   System.Web.UI.WebControls.Repeater.AddDataItemsIntoItemsArray(IEnumerable dataSource, Boolean useDataSource) +217
   System.Web.UI.WebControls.Repeater.PostGetDataAction(IEnumerable dataSource) +71
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +220
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +62
   System.Web.UI.WebControls.Repeater.DataBind() +77
   System.Web.UI.Control.DataBindChildren() +185
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +160
   System.Web.UI.Control.DataBind() +17
   System.Web.UI.Control.DataBindChildren() +185
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +160
   System.Web.UI.Control.DataBind() +17
   System.Web.UI.Control.DataBindChildren() +185
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +160
   System.Web.UI.Control.DataBind() +17
   System.Web.UI.Control.DataBindChildren() +185
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +160
   System.Web.UI.Control.DataBind() +17
   WebSite.Content.Default.OnLoad(EventArgs e) +22
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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