Server Error in '/' Application.

No row with the given identifier exists[CongTTDT_v1.App_Code.ORM.Model.AlbumChudeVideo#0]

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.ObjectNotFoundException: No row with the given identifier exists[CongTTDT_v1.App_Code.ORM.Model.AlbumChudeVideo#0]

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:


[ObjectNotFoundException: No row with the given identifier exists[CongTTDT_v1.App_Code.ORM.Model.AlbumChudeVideo#0]]
   NHibernate.Impl.DefaultEntityNotFoundDelegate.HandleEntityNotFound(String entityName, Object id) +76
   NHibernate.Event.Default.DefaultLoadEventListener.Load(LoadEvent event, IEntityPersister persister, EntityKey keyToLoad, LoadType options) +286
   NHibernate.Event.Default.DefaultLoadEventListener.OnLoad(LoadEvent event, LoadType loadType) +1052
   NHibernate.Impl.SessionImpl.FireLoad(LoadEvent event, LoadType loadType) +203
   NHibernate.Impl.SessionImpl.InternalLoad(String entityName, Object id, Boolean eager, Boolean isNullable) +301
   NHibernate.Type.EntityType.ResolveIdentifier(Object id, ISessionImplementor session) +219
   NHibernate.Engine.TwoPhaseLoad.InitializeEntity(Object entity, Boolean readOnly, ISessionImplementor session, PreLoadEvent preLoadEvent, PostLoadEvent postLoadEvent) +721
   NHibernate.Loader.Loader.InitializeEntitiesAndCollections(IList hydratedObjects, Object resultSetId, ISessionImplementor session, Boolean readOnly) +507
   NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +1141
   NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +217
   NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +333
   NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) +23
   NHibernate.Impl.SessionImpl.ListCustomQuery(ICustomQuery customQuery, QueryParameters queryParameters, IList results) +265
   NHibernate.Impl.SessionImpl.List(NativeSQLQuerySpecification spec, QueryParameters queryParameters, IList results) +177
   NHibernate.Impl.SessionImpl.List(NativeSQLQuerySpecification spec, QueryParameters queryParameters) +177
   NHibernate.Impl.SqlQueryImpl.List() +213
   Frontend_CongTTDT_v1.App_Code.DataManager.CommonManager.CountgetAlbumVideo(String idchuyenmuc) +906
   Frontend_CongTTDT_v1.Frontend.Anh_Video.Frt_Video_TrangCap3.Frt_Video_TrangCap3UserControl.Page_Load(Object sender, EventArgs e) +3719
   System.Web.UI.Control.OnLoad(EventArgs e) +86
   System.Web.UI.Control.LoadRecursive() +129
   System.Web.UI.Control.AddedControl(Control control, Int32 index) +642
   Frontend_CongTTDT_v1.Frontend.Anh_Video.Frt_Video_TrangCap3.Frt_Video_TrangCap3.CreateChildControls() +325
   System.Web.UI.Control.EnsureChildControls() +130
   System.Web.UI.Control.PreRenderRecursiveInternal() +66
   System.Web.UI.Control.PreRenderRecursiveInternal() +276
   System.Web.UI.Control.PreRenderRecursiveInternal() +276
   System.Web.UI.Control.PreRenderRecursiveInternal() +276
   System.Web.UI.Control.PreRenderRecursiveInternal() +276
   System.Web.UI.Control.PreRenderRecursiveInternal() +276
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6881


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