|
|
Question : Expert opinion and experience on slow performance and CR hotfix(es)
|
|
After plowing through many little issues in development, I now face a strange performance slowdown with my web application using CR and export to PDF.
I have a public facing web site that easily demonstrates the relative slowness with CR. Please visit this link to see my problem:
http://www.mortgagedataweb.com/devmdw/marketshare/ParmsV2.asp?Menu=C_ST
I recommend choosing Calif and then Los Angeles county as a decent test. Use Jan 2002 thru Dec 2002.
Clicking on the HTML report button should yield a very fast report while the PDF report button is like a glacier. The stored procedure in the backend database is identical.
So - my question is - what is your experience with applying hot fixes from Business Objects? I found a hot fix that appears like it might work:
http://support.businessobjects.com/library/kbase/articles/c2017683.asp
... but I am leery of making the situation worse (I had one nightmare experience with a hot fix that applied without complaint only to require a lot of support calls and manual cleanup of the registry and re-apply of the hot fix).
Is there anything from a programming perspective that might speed up things. My whole site is .ASP (unmanaged code) until the "Create report (PDF)" button is clicked. Then I enter my .NET DLL for purpose of rendering a PDF report. For reference, I will paste a snippet of the Page Load routine:
Public Class MarketShare_Display Inherits System.Web.UI.Page Private oRpt As ReportDocument Dim oSubReportHeading As ReportDocument Dim oSubReportFooter As ReportDocument Dim dsSubReport As New DataSet Private oUtil As New CommonFormatter
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim objDataSet As DataSet = QueryDataBase() oRpt = oUtil.SetMainReport() oSubReportHeading = oRpt.OpenSubreport("SubReport_TitleAndRuntimeCriteria.rpt") oUtil.SetCommonCRFormulas(oSubReportHeading, Me.Request) ' Now set page-specific CR formulas With oRpt.DataDefinition.FormulaFields ' ' .Item("Rowcount").Text = "'" & CStr(iRowCount) & "'" .Item("FastPathPage").Text = "formula = """ & _ SetFastPathPage() & """" .Item("FastPathMenu").Text = "formula = """ & "Menu=" & _ Request.Form("implied_Menu") & """" .Item("CompanyToHighlight").Text = "formula = """ & _ Replace(Request.Form("CompanyToHighlight"), "'", "`") & """" .Item("VirtualRootName").Text = "formula = """ & _ Request.Form("VirtualRootName") & """" .Item("TypeMortgageSize").Text = "formula = """ & oUtil.TypeMortgageSize(Me.Request) & """" .Item("ReportFooterRequested").Text = "formula = """ & ReportFooterRequested() & """" .Item("CONVPurchaseMoney").Text = "formula = """ & ShowCONVPurchaseMoneyColumns() & """" End With oRpt.SetDataSource(objDataSet) oUtil.PrintToPdfWithStream(oRpt, Me.Response) End Sub
|
Answer : Expert opinion and experience on slow performance and CR hotfix(es)
|
|
PAQed with points refunded (250)
GranMod Community Support Moderator
|
|
|
|
|