Hi,
I have problem exporting 109 pages to excel, it just timeouts.
The web reportviewer loads perfectly in ~20 seconds and generating a PDF loads in ~15 seconds but generating a EXCEL timeouts after about 5 minutes.
Is there some way to speed up excels or is it a bug?
(i'm using report dll 2009 3.2.9.1211 and asp.net dll 2009.3.1314.35)
Regards,
Mattias
I have problem exporting 109 pages to excel, it just timeouts.
The web reportviewer loads perfectly in ~20 seconds and generating a PDF loads in ~15 seconds but generating a EXCEL timeouts after about 5 minutes.
Is there some way to speed up excels or is it a bug?
(i'm using report dll 2009 3.2.9.1211 and asp.net dll 2009.3.1314.35)
Regards,
Mattias
5 Answers, 1 is accepted
0
Hi Mattias,
Do you use a Table item in your report by any chance? If so, this is a known performance issue that we're aware of and would be addressed in the upcoming Q1 2010 release. If not then share what do you use as datasource and how many rows does it have?
Regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Do you use a Table item in your report by any chance? If so, this is a known performance issue that we're aware of and would be addressed in the upcoming Q1 2010 release. If not then share what do you use as datasource and how many rows does it have?
Regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Mattias
Top achievements
Rank 1
answered on 01 Mar 2010, 08:15 AM
Hi Steve,
Yes, I'm using tables in the report.
Good news that you already have a solution for it! :)
/Mattias
Yes, I'm using tables in the report.
Good news that you already have a solution for it! :)
/Mattias
0
Sundar
Top achievements
Rank 1
answered on 17 Mar 2010, 10:19 AM
Hi Mattias,
We are using crosstab report. we are also facing this problem. It's taking too much time for generating Excel. The new release Q1 2010 will solve this issue?
Thanks
We are using crosstab report. we are also facing this problem. It's taking too much time for generating Excel. The new release Q1 2010 will solve this issue?
Thanks
0
Hello BenoitM,
It would be faster if you download the new Q1 release, upgrade and try it to see if it addresses your concern, rather than waiting for a reply in the forums. Otherwise, the answer is once again positive - this is fixed in the new release.
Sincerely yours,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
It would be faster if you download the new Q1 release, upgrade and try it to see if it addresses your concern, rather than waiting for a reply in the forums. Otherwise, the answer is once again positive - this is fixed in the new release.
Sincerely yours,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Badrinarayanan
Top achievements
Rank 1
answered on 29 Mar 2011, 08:07 AM
Hi,
I am using Telerik Reporting 2010 Q1. When we export to excel, the application times out immediately. But this is not the case when we export to pdf.
Following is our code:
private void ExportToExcel()
{
try
{
DataTable dtSpecialReport = ConstructSpecialReport();
Telerik.Reporting.ReportBook rptBook = new Telerik.Reporting.ReportBook();
DataSet dsSessionComparisonReportChartTable1 = SplitDecimalData((DataSet)Session["SessionComparisonReportChartTable"]);
dsSessionComparisonReportChartTable1 = RemoveDecimalData((DataSet)Session["SessionComparisonReportChartTable"]);
RptComparisonVehicleReportExport objRptComparisonVehicleReportExport = new RptComparisonVehicleReportExport((DataSet)Session["SessionComparisonReportChartTable"]);
List<CustomizeCoreAssumptionsBus.CoreAssumption> objRptBus = CustomizeCoreAssumptionsBus.CoreAssumption.GetFields(SessionCRList, SessionCRList[0].OnlineUser.CurrentDatabase.DataBaseName);
RptComparisonVehicleReportExportVCA objRptComparisonVehicleReportExportVCA = new RptComparisonVehicleReportExportVCA(objRptBus, SessionCRList[0].OnlineUser.FullName.Trim().ToString());
rptBook.Reports.Add(objRptComparisonVehicleReportExport);
rptBook.Reports.Add(objRptComparisonVehicleReportExportVCA);
objRptComparisonVehicleReportExport.Name = "Report";
objRptComparisonVehicleReportExportVCA.Name = String.Format("CoreAssumptions Vehicle 1 - {0}", SessionCRList.Count);
if (SessionCRList.Count > 4)
{
RptComparisonVehicleReportExportVCA2 objRptComparisonVehicleReportExportVCA2 = new RptComparisonVehicleReportExportVCA2(objRptBus, SessionCRList[0].OnlineUser.FullName.Trim().ToString());
rptBook.Reports.Add(objRptComparisonVehicleReportExportVCA2);
objRptComparisonVehicleReportExportVCA2.Name = String.Format("CoreAssumptions Vehicle 5 - {0}", SessionCRList.Count);
objRptComparisonVehicleReportExportVCA.Name = "CoreAssumptions Vehicle 1 - 4";
}
RptComparisonVehicleReportExportExpander objRptComparisonVehicleReportExportExpander = new RptComparisonVehicleReportExportExpander(dtSpecialReport, SessionCRList.Count);
rptBook.Reports.Add(objRptComparisonVehicleReportExportExpander);
objRptComparisonVehicleReportExportExpander.Name = "Special Report";
rptBook.DocumentName = "ComparisonReport" + DateTime.Now.ToString().Replace(" ", "").Replace("/", "").Replace(":", "");
rptComparisonViewerExport.Report = rptBook;
Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("XLS", rptBook, null);
Response.Clear();
Response.ContentType = result.MimeType;
Response.Cache.SetCacheability(HttpCacheability.Private);
Response.Expires = -1;
Response.Buffer = true;
Response.AddHeader("Content-Disposition", string.Format("{0};FileName=\"{1}\"",
"attachment", result.DocumentName + ".xls"));
//Response.BinaryWrite(bytes);
Response.BinaryWrite(result.DocumentBytes);
Response.End();
}
catch (Exception ex)
{
ApplicationExceptionHandler(ex, this);
}
}
Thanks
Badri
I am using Telerik Reporting 2010 Q1. When we export to excel, the application times out immediately. But this is not the case when we export to pdf.
Following is our code:
private void ExportToExcel()
{
try
{
DataTable dtSpecialReport = ConstructSpecialReport();
Telerik.Reporting.ReportBook rptBook = new Telerik.Reporting.ReportBook();
DataSet dsSessionComparisonReportChartTable1 = SplitDecimalData((DataSet)Session["SessionComparisonReportChartTable"]);
dsSessionComparisonReportChartTable1 = RemoveDecimalData((DataSet)Session["SessionComparisonReportChartTable"]);
RptComparisonVehicleReportExport objRptComparisonVehicleReportExport = new RptComparisonVehicleReportExport((DataSet)Session["SessionComparisonReportChartTable"]);
List<CustomizeCoreAssumptionsBus.CoreAssumption> objRptBus = CustomizeCoreAssumptionsBus.CoreAssumption.GetFields(SessionCRList, SessionCRList[0].OnlineUser.CurrentDatabase.DataBaseName);
RptComparisonVehicleReportExportVCA objRptComparisonVehicleReportExportVCA = new RptComparisonVehicleReportExportVCA(objRptBus, SessionCRList[0].OnlineUser.FullName.Trim().ToString());
rptBook.Reports.Add(objRptComparisonVehicleReportExport);
rptBook.Reports.Add(objRptComparisonVehicleReportExportVCA);
objRptComparisonVehicleReportExport.Name = "Report";
objRptComparisonVehicleReportExportVCA.Name = String.Format("CoreAssumptions Vehicle 1 - {0}", SessionCRList.Count);
if (SessionCRList.Count > 4)
{
RptComparisonVehicleReportExportVCA2 objRptComparisonVehicleReportExportVCA2 = new RptComparisonVehicleReportExportVCA2(objRptBus, SessionCRList[0].OnlineUser.FullName.Trim().ToString());
rptBook.Reports.Add(objRptComparisonVehicleReportExportVCA2);
objRptComparisonVehicleReportExportVCA2.Name = String.Format("CoreAssumptions Vehicle 5 - {0}", SessionCRList.Count);
objRptComparisonVehicleReportExportVCA.Name = "CoreAssumptions Vehicle 1 - 4";
}
RptComparisonVehicleReportExportExpander objRptComparisonVehicleReportExportExpander = new RptComparisonVehicleReportExportExpander(dtSpecialReport, SessionCRList.Count);
rptBook.Reports.Add(objRptComparisonVehicleReportExportExpander);
objRptComparisonVehicleReportExportExpander.Name = "Special Report";
rptBook.DocumentName = "ComparisonReport" + DateTime.Now.ToString().Replace(" ", "").Replace("/", "").Replace(":", "");
rptComparisonViewerExport.Report = rptBook;
Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("XLS", rptBook, null);
Response.Clear();
Response.ContentType = result.MimeType;
Response.Cache.SetCacheability(HttpCacheability.Private);
Response.Expires = -1;
Response.Buffer = true;
Response.AddHeader("Content-Disposition", string.Format("{0};FileName=\"{1}\"",
"attachment", result.DocumentName + ".xls"));
//Response.BinaryWrite(bytes);
Response.BinaryWrite(result.DocumentBytes);
Response.End();
}
catch (Exception ex)
{
ApplicationExceptionHandler(ex, this);
}
}
Thanks
Badri