Wrox Programmer Forums
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 18th, 2005, 10:25 AM
mh mh is offline
Authorized User
Join Date: Mar 2005
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default Load Report Failed Error

Hi everyone.

I'm trying to load a Crystal Report into a vb.net page. I have a reportviewer on the aspx page and I have the following code:

Public Class TyDet
    Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

    'This call is required by the Web Form Designer.
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

    End Sub
    Protected WithEvents ReportViewer As CrystalDecisions.Web.CrystalReportViewer

    'NOTE: The following placeholder declaration is required by the Web Form Designer.
    'Do not delete or move it.
    Private designerPlaceholderDeclaration As System.Object

    Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
        'CODEGEN: This method call is required by the Web Form Designer
        'Do not modify it using the code editor.
        End Sub

#End Region

In addition, I have set the databinding to the name of the report which is also located on the server. It shows up in design view, but once it is executed, it gives this error:

Server Error in '/CPS' Application.

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.LoadSaveRep ortException: 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() +280
   CrystalDecisions.Web.ReportAgent.get_RequestContex t() +10
   CrystalDecisions.Web.ReportAgent.get_() +4
   CrystalDecisions.Web.ReportAgent.{(Boolean C) +81
   CrystalDecisions.Web.CrystalReportViewer.OnPreRend er(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() +1499

Can someone please tell me what the problem is? Thank you.

Old October 18th, 2005, 10:33 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

This seems to be related to .NET 1.1 and not .NET 2.0, right?

In that case, I think you're better off posting in one of the 1.x forums, or even better, in the Crystal Reports forum )http://p2p.wrox.com/c-22/9).


Imar Spaanjaars
Everyone is unique, except for me.
Old October 18th, 2005, 11:10 AM
mh mh is offline
Authorized User
Join Date: Mar 2005
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts


Similar Threads
Thread Thread Starter Forum Replies Last Post
load report failed zaghmout Crystal Reports 2 December 3rd, 2007 05:04 AM
Load Report Failed craigbtx Crystal Reports 4 December 18th, 2006 09:15 PM
Load Report Failed Error mh Crystal Reports 3 October 22nd, 2006 09:08 AM
Load Report Failed - Invalid Table Number rstaubitz Crystal Reports 0 December 28th, 2005 10:07 AM
Load report failed v_ganeshraju Crystal Reports 0 September 20th, 2004 08:51 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.