
Displaying a report in an ASP.Net web page
I printed your book and I look at the examples. But when I look at the
Reportsource Binding I don't see any options. If I set the reportsource
manually I get the following error:
Load report failed.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details:
CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: Load report
failed.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[LoadSaveReportException: Load report failed.]
CrystalDecisions.Web.ReportAgentBase.m() +278
CrystalDecisions.Web.ReportAgent.get_RequestContext() +10
CrystalDecisions.Web.ReportAgent.get_ () +4
CrystalDecisions.Web.ReportAgent.{(Boolean E) +81
CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) +143
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1470
----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET
Version:1.0.3705.288
Quote:
> Hi Ed,
> I walk you through all the steps in my free ebook.
> A Crystal Reports.NET book for programmers? Its free!
> * Covers ASP.NET and Windows Forms
> * Teaches all phases of report development
> * Alerts you to the bugs and how to get around them
> * Maps out the complex ReportDocument object model
> * Shows how to perform runtime customization
> * Demonstrates all options of connecting with ADO.NET
> * Gives complete code listings for every concept presented
> www.CrystalReportsBook.com?cpgn=ngcr_031103
> HTH,
> Brian Bischof
> > Can someone give me the exact steps to use a report in the Crystal
Report
> > View in an ASP.Net web page. Every example I try does not work. I get
load
> > report errors.
> > Help.