User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 391,767 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,172 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 1238 | Replies: 0
Reply
Join Date: Apr 2007
Location: Birmingham
Posts: 368
Reputation: Fungus1487 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 35
Fungus1487's Avatar
Fungus1487 Fungus1487 is offline Offline
Posting Whiz

Help crystal reports on the web

  #1  
Nov 29th, 2007
hello all,

i have been setting up reports to work with our intranet web application but after attempting to make the reports dynamic in the data they retrieve i have tried using a dataset and an xml file both return this error when i attempt to load the report document.

[LoadSaveReportException: Load report failed.]
   .F(String 	, EngineExceptionErrorID 
) +273
   .B(String , Int32 ) +64
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) +1158
   CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) +511
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String reportName) +123
   CrystalDecisions.ReportSource.NonHTTPCachedReportSource.GetReport(RequestContext context, Boolean bAddToCacheWhenCreated) +292
   CrystalDecisions.ReportSource.LocalReportSourceBase.GetPage(PageRequestContext pageReqContext) +201
   CrystalDecisions.Web.ReportAgent.u(Boolean N) +148
   CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) +99
   System.Web.UI.Control.PreRenderRecursiveInternal() +77
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360

my code for loading the document is simple and as follows

Dim rpt_report As ReportDocument
rpt_report = New ReportDocument
            rpt_report.Load("c:\inetpub\wwwroot\sam\TEMP\TESTING\REPORTS\CrystalReport2.rpt")

The file exists on the server and the strange thing is that if i set up a normal report where the report pulls the data via a connection it works fine. But using another method i.e. dataset or xml returns this error. always.

hope somebody can help me.
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 4:26 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC