Print Page | Close Window

paging and report max limit does not work togethe

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=7197
Printed Date: 05 May 2024 at 10:33am


Topic: paging and report max limit does not work togethe
Posted By: virappon
Subject: paging and report max limit does not work togethe
Date Posted: 29 Jul 2009 at 7:35pm
I am using crystal report with VS2005.

At first I was getting an error that "The maximum report processing jobs limit configured by your system administrator has been reached".

The solution given in a forum was to dispose report document on page unload

override protected void OnUnload(EventArgs e)
    {
       
        this._rdFinancialStatement.Close();
       this._rdFinancialStatement.Dispose();

    }

the second problem was in the same report with report viewer. I could not get to the next page by pressing next button of report viewer.

The solution given in forum was to keep report document in session.

 if (Session["InRept"] != null)
        {
            this.crvFinStatement.ReportSource = (ReportDocument)Session["InRept"];
            this.crvFinStatement.DataBind();
        }

but if I dispose the report next time when I load form session report gives object reference not found problem.

Both should work...

Please let me know if there is a solution.



-------------
Virappon



Print Page | Close Window