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 101:            //lt_detail.Append("<p class=\"pcwrtList\">Color:Need other colors, please consult customer service</p>");
Line 102:            lt_parameter.Append(Server.UrlDecode(odr["pparameter"].ToString()));
Line 103:            lt_cont.Append(Server.UrlDecode(odr["pintro"].ToString()));
Line 104:            SqlParameter[] parameters3 = { new SqlParameter("@ID", odr["tid"].ToString()) };
Line 105:            lt_cont.Append("<div>" + BLLhelp.GetOneField("template", "tintro", "ID=@ID", parameters3) + "</div>");

Source File: c:\webhosting\data\index\picshow.aspx.cs    Line: 103

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.String.CtorCharArrayStartLength(Char[] value, Int32 startIndex, Int32 length) +73
   System.Web.Util.UrlDecoder.GetString() +43
   System.Web.Util.HttpEncoder.UrlDecode(String value, Encoding encoding) +168
   System.Web.HttpServerUtility.UrlDecode(String s) +52
   index_picshow.BindData() in c:\webhosting\data\index\picshow.aspx.cs:103
   index_picshow.Page_Load(Object sender, EventArgs e) in c:\webhosting\data\index\picshow.aspx.cs:25
   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