Click to See Complete Forum and Search --> : System Exception on Crystal Report Viewer Prerender in ASP.NET


sash_powers
May 22nd, 2005, 05:36 AM
Hey all,
I have a report which is datasourced to a sql server stored procedure. This report has 4 sub reports which are also datasourced to their own stored procedures.I am trying to display this report on an asp.net web page. On page load I am setting the parameters for the report, setting the logon information for the stored procedures sourced by the report and sub reports and finally setting the reportsource of the cystal report viewer to the report document. I am getting a System.Exception on my web page. The stack trace is as follows:

[Exception: Exception of type System.Exception was thrown.]
CrystalDecisions.Web.ReportAgent.u(Boolean n)
CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e)
System.Web.UI.Control.PreRenderRecursiveInternal()
System.Web.UI.Control.PreRenderRecursiveInternal()
System.Web.UI.Control.PreRenderRecursiveInternal()
System.Web.UI.Page.ProcessRequestMain()

Have no idea what is happening. If somebody has any clue to what is happening and how to solve this problem please let me know. Your help is greatly appreciated.

Thanks in advance,

Ashwin