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

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

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

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

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。]
   System.String.CreateStringFromEncoding(Byte* bytes, Int32 byteLength, Encoding encoding) +50
   System.Text.UTF8Encoding.GetString(Byte[] bytes, Int32 index, Int32 count) +102
   MySql.Data.MySqlClient.MySqlPacket.ReadString(Int64 length) +126
   MySql.Data.Types.MySqlString.MySql.Data.Types.IMySqlValue.ReadValue(MySqlPacket packet, Int64 length, Boolean nullVal) +151
   MySql.Data.MySqlClient.NativeDriver.ReadColumnValue(Int32 index, MySqlField field, IMySqlValue valObject) +168
   MySql.Data.MySqlClient.ResultSet.get_Item(Int32 index) +129
   MySql.Data.MySqlClient.MySqlDataReader.GetFieldValue(Int32 index, Boolean checkNull) +39
   MySql.Data.MySqlClient.MySqlDataReader.GetValue(Int32 i) +66
   MySql.Data.MySqlClient.MySqlDataReader.get_Item(Int32 i) +10
   Deserialize35787698-6469-425c-a3a6-63ed9e1e7d39(IDataReader ) +1270

[DataException: Error parsing column 9 (ContentPC=原创 - String)]
   Dapper.SqlMapper.ThrowDataException(Exception ex, Int32 index, IDataReader reader, Object value) in F:\project\jwcms_template\marketing\code\0.Libraries\SqlMapper\SqlMapper.cs:4187
   Deserialize35787698-6469-425c-a3a6-63ed9e1e7d39(IDataReader ) +3785
   Dapper.d__62`1.MoveNext() in F:\project\jwcms_template\marketing\code\0.Libraries\SqlMapper\SqlMapper.cs:1638
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +246
   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 F:\project\jwcms_template\marketing\code\0.Libraries\SqlMapper\SqlMapper.cs:1509
   JWCMS.MysqlDAL.ContentDAL.ReadListUnion(Int32 id) in E:\2022年网站\8湖南琴海数码股份有限公司_非标\code\1.Service\JWCMS.MysqlDAL\ContentDAL.cs:111
   JWCMS.Business.ContentBLL.Read(Int32 id, String[]& prev, String[]& next) in F:\project\jwcms_template\marketing\code\1.Service\JWCMS.Business\ContentBLL.cs:63
   JWCMS.Page.Controllers.HomeController.Detail(Int32 id, Nullable`1 Page) in F:\project\jwcms_template\marketing\code\2.Client\JWCMS.Web\Page\Controllers\HomeController.cs:478
   lambda_method(Closure , ControllerBase , Object[] ) +146
   System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +182
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
   System.Web.Mvc.Async.<>c__DisplayClass42.b__41() +28
   System.Web.Mvc.Async.<>c__DisplayClass8`1.b__7(IAsyncResult _) +10
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +32
   System.Web.Mvc.Async.<>c__DisplayClass39.b__33() +58
   System.Web.Mvc.Async.<>c__DisplayClass4f.b__49() +228
   System.Web.Mvc.Async.<>c__DisplayClass37.b__36(IAsyncResult asyncResult) +10
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +34
   System.Web.Mvc.Async.<>c__DisplayClass2a.b__20() +24
   System.Web.Mvc.Async.<>c__DisplayClass25.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.b__18(IAsyncResult asyncResult) +14
   System.Web.Mvc.Async.<>c__DisplayClass4.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.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.b__3(IAsyncResult asyncResult) +25
   System.Web.Mvc.Async.<>c__DisplayClass4.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