Server Error in '/' Application.

No row with the given identifier exists[PautaOnline.Domain.TMember#323]

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[PautaOnline.Domain.TMember#323]

Source Error:


Line 90:         </div>
Line 91:         <div class="post-footer">
Line 92:             <span>Postado por @Model.Member.FullName - @string.Format("{0: dd 'de' MMMM 'de' yyyy}", Model.CreationDate)</span>
Line 93:             <span style="float: right">@Model.TComments.Count @(Model.TComments.Count == 1 ? "comentário" : "comentários")</span>
Line 94:         </div>

Source File: c:\inetpub\wwwroot\ApiPautaOnline\Areas\Blog\Views\Home\Ver.cshtml    Line: 92

Stack Trace:


[ObjectNotFoundException: No row with the given identifier exists[PautaOnline.Domain.TMember#323]]
   NHibernate.Impl.DefaultEntityNotFoundDelegate.HandleEntityNotFound(String entityName, Object id) +53
   NHibernate.Proxy.AbstractLazyInitializer.CheckTargetState() +103
   NHibernate.Proxy.AbstractLazyInitializer.Initialize() +164
   NHibernate.Proxy.AbstractLazyInitializer.GetImplementation() +21
   NHibernate.ByteCode.LinFu.LazyInitializer.Intercept(InvocationInfo info) +106
   TMemberProxy.get_FullName() +241
   ASP._Page_Areas_Blog_Views_Home_Ver_cshtml.Execute() in c:\inetpub\wwwroot\ApiPautaOnline\Areas\Blog\Views\Home\Ver.cshtml:92
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +123
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +107
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +378
   System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() +31
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +448
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +659
   System.Web.Mvc.Controller.ExecuteCore() +146
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +91
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +60
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +25
   System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +36
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +431
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158


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