System.OutOfMemoryException
Posted: Sat Jun 19, 2010 4:09 am
hello,
run report from aspx error but not in report preview standalone.
this Exception :
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 139: report["cTahun"] = cTahun;
Line 140:
Line 141: WebVwrFx.Report = report;
Line 142:
Line 143: }
Source File: C:\htdoc\wwwroot\Report_face.aspx.cs Line: 141
Stack Trace:
[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity) +29
System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength) +69
System.Text.StringBuilder.Append(Char[] value, Int32 startIndex, Int32 charCount) +154
System.IO.StreamReader.ReadToEnd() +93
Stimulsoft.Report.StiReport.SaveDocumentToString() +205
Stimulsoft.Report.StiReport.SavePackedDocumentToString() +10
Stimulsoft.Report.WebFx.StiWebViewerFx.set_Report(StiReport value) +169
Report_face.PrintTable2(String Periode, String Kelas) in C:\htdoc\wwwroot\Report_face.aspx.cs:141
Report_face.Page_Load(Object sender, EventArgs e) in C:\htdoc\wwwroot\Report_face.aspx.cs:55
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
i used SP and Dataset, i attach report source
how can i solved this problem? thank you
run report from aspx error but not in report preview standalone.
this Exception :
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 139: report["cTahun"] = cTahun;
Line 140:
Line 141: WebVwrFx.Report = report;
Line 142:
Line 143: }
Source File: C:\htdoc\wwwroot\Report_face.aspx.cs Line: 141
Stack Trace:
[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity) +29
System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength) +69
System.Text.StringBuilder.Append(Char[] value, Int32 startIndex, Int32 charCount) +154
System.IO.StreamReader.ReadToEnd() +93
Stimulsoft.Report.StiReport.SaveDocumentToString() +205
Stimulsoft.Report.StiReport.SavePackedDocumentToString() +10
Stimulsoft.Report.WebFx.StiWebViewerFx.set_Report(StiReport value) +169
Report_face.PrintTable2(String Periode, String Kelas) in C:\htdoc\wwwroot\Report_face.aspx.cs:141
Report_face.Page_Load(Object sender, EventArgs e) in C:\htdoc\wwwroot\Report_face.aspx.cs:55
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
i used SP and Dataset, i attach report source
how can i solved this problem? thank you