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

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

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

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

源错误:


行 72: 	templateBuilder.Append(Utils.ObjectToStr(category_id));
行 73: 	templateBuilder.Append("\" />\r\n   ");
行 74: 	DataTable newsList = get_article_list(channel, category_id, pagesize, page, "status=0", out totalcount, out pagelist, "gsxx_list", category_id, "__id__");
行 75: 
行 76: 	templateBuilder.Append("\r\n      ");

源文件: d:\wwwroot\tuobai_net\wwwroot\aspx\main\gsxx_list.aspx    行: 74

堆栈跟踪:


[OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。]
   System.String.CreateStringFromEncoding(Byte* bytes, Int32 byteLength, Encoding encoding) +50
   System.Text.UnicodeEncoding.GetString(Byte[] bytes, Int32 index, Int32 count) +106
   System.Data.SqlClient.TdsParserStateObject.TryReadString(Int32 length, String& value) +178
   System.Data.SqlClient.TdsParser.TryReadSqlStringValue(SqlBuffer value, Byte type, Int32 length, Encoding encoding, Boolean isPlp, TdsParserStateObject stateObj) +316
   System.Data.SqlClient.TdsParser.TryReadSqlValue(SqlBuffer value, SqlMetaDataPriv md, Int32 length, TdsParserStateObject stateObj, SqlCommandColumnEncryptionSetting columnEncryptionOverride, String columnName) +533
   System.Data.SqlClient.SqlDataReader.TryReadColumnInternal(Int32 i, Boolean readHeaderOnly) +674
   System.Data.SqlClient.SqlDataReader.TryReadColumn(Int32 i, Boolean setTimeout, Boolean allowPartiallyReadColumn) +144
   System.Data.SqlClient.SqlDataReader.GetValues(Object[] values) +169
   System.Data.ProviderBase.CommonLanguageSubsetDataReader.GetValues(Object[] values) +13
   System.Data.ProviderBase.SchemaMapping.LoadDataRow() +38
   System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping) +201
   System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue) +201
   System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords) +422
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +219
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +138
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +87
   DTcms.DBUtility.DbHelperSQL.Query(String SQLString) in g:\行网\域名空间模板\行业网站v2.0有\行业网站v2.0\THCMS\DTcms.DBUtility\DbHelperSQL.cs:548
   DTcms.DAL.article.GetList(String channel_name, Int32 category_id, Int32 pageSize, Int32 pageIndex, String strWhere, String filedOrder, Int32& recordCount) in g:\行网\域名空间模板\行业网站v2.0有\行业网站v2.0\THCMS\DTcms.DAL\article.cs:1127
   DTcms.BLL.article.GetList(String channel_name, Int32 category_id, Int32 pageSize, Int32 pageIndex, String strWhere, String filedOrder, Int32& recordCount) in g:\行网\域名空间模板\行业网站v2.0有\行业网站v2.0\THCMS\DTcms.BLL\article.cs:173
   DTcms.Web.UI.BasePage.get_article_list(String channel_name, Int32 category_id, Int32 page_size, Int32 page_index, String strwhere, Int32& totalcount, String& pagelist, String _key, Object[] _params) in g:\行网\域名空间模板\行业网站v2.0有\行业网站v2.0\THCMS\DTcms.Web.UI\Label\article.cs:108
   ASP.aspx_main_gsxx_list_aspx.OnInit(EventArgs e) in d:\wwwroot\tuobai_net\wwwroot\aspx\main\gsxx_list.aspx:74
   System.Web.UI.Control.InitRecursive(Control namingContainer) +142
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +416


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4075.0
Baidu
sogou