Server Error in '/' Application.

No record with key field '0' found in table 'lib_orders'

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: System.Exception: No record with key field '0' found in table 'lib_orders'

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:


[Exception: No record with key field '0' found in table 'lib_orders']
   Tic.Core.DataTableEntities.Model.DataTableEntity..ctor(ConnectionSelector connection, String entityTableName, String keyFieldName, IComparable key) in C:\Projects\TicV7\Tic.Core\Tic.Core\DataTableEntities\Model\DataTableEntity.cs:109
   Tic.Core.DataTableEntities.Model.DataTableEntity..ctor(String entityTableName, String keyFieldName, IComparable key) in C:\Projects\TicV7\Tic.Core\Tic.Core\DataTableEntities\Model\DataTableEntity.cs:126
   Tic.Cms.HNEHealthLibraries.Extensions.Journals.Model.Order..ctor(Int32 id) in C:\Projects\TicV7\Tic.Cms11.2.Sites\Tic.Cms.HNEHealthLibraries\Extensions\Journals\Model\Order.cs:17
   Tic.Cms.HNEHealthLibraries.ccResultCheckExternal.Page_Load(Object sender, EventArgs e) in C:\Projects\TicV7\Tic.Cms11.2.Sites\Tic.Cms.HNEHealthLibraries\ccResultCheckExternal.ascx.cs:25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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