“/”应用程序中的服务器错误。

引发类型为“System.OutOfMemoryException”的异常。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。

源错误:


行 1:  @{ var _detail_banner = recommend.get(alias: "detail_banner", mixed: "{'field_alias' : '" + view.category.id + "'}", always: true); }
行 2:  <div class="sub_banner">
行 3:      <img src="@_detail_banner.imgorg">

源文件: d:\wwwroot\spon_comcn\wwwroot\Plugins\Template\web\PC\Views\zh-CN\list-productList.cshtml    行: 1

堆栈跟踪:


[OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。]
   System.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method) +0
   System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType) +12646419
   Dapper.SqlMapper.GetTypeDeserializer(Type type, IDataReader reader, Int32 startBound, Int32 length, Boolean returnNullIfFirstMissing) in E:\2022年网站\5世邦通信股份有限公司\code\0.Libraries\SqlMapper\SqlMapper.cs:3990
   Dapper.SqlMapper.GetDeserializer(Type type, IDataReader reader, Int32 startBound, Int32 length, Boolean returnNullIfFirstMissing) in E:\2022年网站\5世邦通信股份有限公司\code\0.Libraries\SqlMapper\SqlMapper.cs:2261
   Dapper.<QueryImpl>d__62`1.MoveNext() in E:\2022年网站\5世邦通信股份有限公司\code\0.Libraries\SqlMapper\SqlMapper.cs:1630
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +186
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +61
   Dapper.SqlMapper.Query(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in E:\2022年网站\5世邦通信股份有限公司\code\0.Libraries\SqlMapper\SqlMapper.cs:1509
   JWCMS.MysqlDAL.RecommendDAL.ReadList(Int32 recommendModuleId, Dictionary`2 mixed) in E:\2022年网站\5世邦通信股份有限公司\code\1.Service\JWCMS.MysqlDAL\RecommendDAL.cs:105
   JWCMS.Business.RecommendBLL.ReadList(Int32 recommendModuleId, Dictionary`2 mixed) in E:\2022年网站\5世邦通信股份有限公司\code\1.Service\JWCMS.Business\RecommendBLL.cs:48
   JWCMS.Page.recommend.ReadList(String alias, String mixed, Int32 pageSize) in E:\2022年网站\5世邦通信股份有限公司\code\2.Client\JWCMS.Web\Page\AccessControl\RecommendControl.cs:73
   JWCMS.Page.recommend.get(String alias, String mixed, Boolean always) in E:\2022年网站\5世邦通信股份有限公司\code\2.Client\JWCMS.Web\Page\AccessControl\RecommendControl.cs:35
   ASP._Page_Plugins_Template_web_PC_Views_zh_CN_list_productList_cshtml.Execute() in d:\wwwroot\spon_comcn\wwwroot\Plugins\Template\web\PC\Views\zh-CN\list-productList.cshtml:1
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +197
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +104
   System.Web.WebPages.StartPage.RunPage() +17
   System.Web.WebPages.StartPage.ExecutePageHierarchy() +64
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +78
   System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +257
   System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +107
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +291
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) +13
   System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +23
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +245
   System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() +22
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +176
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +310
   System.Web.Mvc.Controller.ExecuteCore() +103
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +87
   System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +10
   System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext) +52
   System.Web.Mvc.MvcHandler.ProcessRequest(HttpContext httpContext) +42
   System.Web.Mvc.MvcHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext httpContext) +10
   System.Web.Mvc.MvcHttpHandler.VerifyAndProcessRequest(IHttpHandler httpHandler, HttpContextBase httpContext) +40
   System.Web.Routing.UrlRoutingHandler.ProcessRequest(HttpContextBase httpContext) +149
   System.Web.Routing.UrlRoutingHandler.ProcessRequest(HttpContext httpContext) +44
   System.Web.Routing.UrlRoutingHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) +12
   JWCMS.Page.TransferResult.ExecuteResult(ControllerContext context) in E:\2022年网站\5世邦通信股份有限公司\code\2.Client\JWCMS.Web\Page\Tools\TransferToRouteResult.cs:67
   JWCMS.Page.TransferToRouteResult.ExecuteResult(ControllerContext context) in E:\2022年网站\5世邦通信股份有限公司\code\2.Client\JWCMS.Web\Page\Tools\TransferToRouteResult.cs:33
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) +13
   System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +23
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +245
   System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() +22
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +176
   System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +75
   System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +99
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27
   System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +14
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +16
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +36
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +16
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +26
   System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +25
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +16
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +28
   System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9847493
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +163


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4110.0