Calling Crystal Report having stored procedure in ASP.NET

bharatasp

Member
Joined
Mar 30, 2003
Messages
9
Location
India
Hi All,
I m designing a few reports which fetch data from stored procedures.
When I create reports using Report Designer interface provided by VS.NET, I am able to do so but when i create a report using Crystal Report 9 Designer, it throws an unhandelled exception :

Exception: Exception of type System.Exception was thrown.]
CrystalDecisions.Web.ReportAgent.v(Boolean `) +345
CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) +108
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1470


I can design the reports in VS interface too but it will take hell lot of time as it doesnt have most of the features which are there in Crystal Reports interface.

Has anyone came across the same problem?
Please try to help me out !!!

Thanks in advance.
 
While using the Crystal Reports interface, are able to get data from the Stored Proc? Or is that where it errors out?
 
I get the data from Stored procedure and can preview the report in CR Interface. But problem is when i include that report in project (by clicking "Include in project"), it throws that exception
one thing more, when i create parameters and make a mistake while adding parameter, it gives me error message.

that means it creates parameters but while showing the report , it gives me that error.
I m able to include and show reports, based on views but problem occurs only in case of Stored procedures.
Seems a weird problem!!

Can this be a bug in the Web Control?
 
Back
Top