Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
| Search | Today's Posts | Mark Forums Read
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports 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
  #1 (permalink)  
Old August 18th, 2004, 10:05 AM
Authorized User
 
Join Date: Jun 2003
Location: Northbrook, Illinois, USA.
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default Invalid report file path

I'm trying to view a report via ASP.NET and I get this error message. Does anyone have any ideas why I'm getting this message? My report path is correct that I'm passing to it, but I'm not sure if the syntax I'm using for the login and password, etc is correct.

Thanks

Renee C. Walker
__________________
Renee C. Walker
  #2 (permalink)  
Old January 28th, 2009, 10:49 AM
Registered User
 
Join Date: Jan 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Code?

Show us a example of you source code.

A little test program to fill and show a crystal report in asp.net:

private void FillReportWithXml()
{
CrystalDecisions.CrystalReports.Engine.ReportDocum ent CrystalReport = new CrystalDecisions.CrystalReports.Engine.ReportDocum ent();
DataSet SqlDS = new DataSet();

SqlDS.ReadXml("*:\\Xml.xml");

CrystalReport.Load("*:\\*\CrystalReport.rpt");

CrystalReport.SetDataSource(SqlDS.Tables["Table"]);
ReportsViewer.ReportSource = CrystalReport;
ReportsViewer.ShowFirstPage();
}


Similar Threads
Thread Thread Starter Forum Replies Last Post
How load images on report from report path hyder_master Crystal Reports 0 October 5th, 2007 05:17 AM
Invalid report file path cathiec Crystal Reports 0 June 30th, 2005 10:10 AM
Invalid path for MapPath kondin BOOK: ASP.NET Website Programming Problem-Design-Solution 1 February 4th, 2004 11:49 PM
Invalid database Path MrDannyP VB Databases Basics 1 January 7th, 2004 10:15 AM





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