p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Crystal Reports (http://p2p.wrox.com/forumdisplay.php?f=113)
-   -   Invalid report file path (http://p2p.wrox.com/showthread.php?t=17053)

rwalker August 18th, 2004 10:05 AM

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

NozzNazz January 28th, 2009 10:49 AM

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();
}


All times are GMT -4. The time now is 07:19 AM.

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