Server Error in '/' Application.

Exception of type 'System.OutOfMemoryException' was thrown.

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: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Source Error:


Line 30:                     new SqlParameter("@cln",cln)
Line 31:                                     };
Line 32:         lb_content.Append(BLLhelp.GetOneField("pageinfo", "pcontent", "cclass=@cclass and cln=@cln order by porder asc,ID asc", parameters));
Line 33:     }
Line 34: 

Source File: c:\webhosting\data\index\userpage.aspx.cs    Line: 32

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Data.SqlClient.TdsParser.TryReadPlpUnicodeChars(Char[]& buff, Int32 offst, Int32 len, TdsParserStateObject stateObj, Int32& totalCharsRead) +118
   System.Data.SqlClient.TdsParser.TryReadSqlStringValue(SqlBuffer value, Byte type, Int32 length, Encoding encoding, Boolean isPlp, TdsParserStateObject stateObj) +227
   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.GetValueInternal(Int32 i) +32
   System.Data.SqlClient.SqlDataReader.GetValue(Int32 i) +76
   System.Data.SqlClient.SqlCommand.CompleteExecuteScalar(SqlDataReader ds, Boolean returnSqlValue) +118
   System.Data.SqlClient.SqlCommand.ExecuteScalar() +202
   Maticsoft.DBUtility.DbHelperSQL.GetSingle(String SQLString, SqlParameter[] cmdParms) in D:\c程序源文件\m模板调试\新后台_国内\SQL底层\CodematicDemo\DBUtility\DbHelperSQL.cs:787
   Maticsoft.DAL.publicHelp.GetOneField(String table, String Onefield, String strWhere, SqlParameter[] parameters) in D:\c程序源文件\m模板调试\新后台_国内\SQL底层\CodematicDemo\DAL\publicHelp.cs:402
   Maticsoft.BLL.publicHelp.GetOneField(String table, String Onefield, String strWhere, SqlParameter[] parameters) in D:\c程序源文件\m模板调试\新后台_国内\SQL底层\CodematicDemo\BLL\publicHelp.cs:106
   index_userpage.bindData() in c:\webhosting\data\index\userpage.aspx.cs:32
   index_userpage.Page_Load(Object sender, EventArgs e) in c:\webhosting\data\index\userpage.aspx.cs:18
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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