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
System.OutOfMemoryException
System.OutOfMemoryException
- Attachments
-
- 461.rpt3.mrt
- (18.22 KiB) Downloaded 205 times
System.OutOfMemoryException
Hello,
In most cases, this error occurs due to lack of memory on the server with the rendering of large reports. Please send us a rendered report (.mdc file), as well as inform the physical parameters of your ASP.NET server.
Thank you.
In most cases, this error occurs due to lack of memory on the server with the rendering of large reports. Please send us a rendered report (.mdc file), as well as inform the physical parameters of your ASP.NET server.
Thank you.