Error when displaying a report in ASP.Net 
Author Message
 Error when displaying a report in ASP.Net

I get the following error when displayinig a report in the CrystalReport
Viewer. If I use a dataset in the report I get the error otherwise it works.

Specified cast is not valid.
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: System.InvalidCastException: Specified cast is not valid.

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:

[InvalidCastException: Specified cast is not valid.]
reportStateInfo) +186
requestContext) +166

ext requestContext) +30
pageRequestContext) +22
   CrystalDecisions.Web.ReportAgent.{(Boolean  E) +189
   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

Mon, 29 Aug 2005 01:51:46 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Displaying a report in an ASP.Net web page

2. Web Reports (ASP.NET and Crystal Reports for .Net)

3. Query Engine Error: in ASP.NET Beta 2 when calling Crystal Report

4. How to display the Crystal Reports Report Design Component (RDC) in an ASP application

5. Crystal Reports from ASP.NET without compiling VB.NET on SQL/ADO changes

6. report from created (temporary) table

7. problem with crystal report for .net in

8. ASP.NET Report Document Cannot Load Crystal Report

9. Survey on ASP/VS6.0 versus ASP.NET/VS.NET

10. Visual Basic.NET , ASP or ASP.NET

11. VB6/ASP vs .NET/ASP.NET development

12. Using to display links to files


Powered by phpBB® Forum Software