Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Crystal Report Error Saying "The system cannot find the path specified. "

$
0
0

I am trying to open a crystal report in Visual Studio 2008. When I debug in it my local server, I see the reports. But when I publish it to test server, it gives me the error the system cannot find the path specified.

This is my code

Aspx :

<div><CR:CrystalReportViewer ID="CrystalReportViewer" runat="server"

AutoDataBind="True" Height="50px" meta:resourcekey="CrystalReportViewerResource1" Width="350px" /></div>

.cs :

namespace TestDoc

{

public partial class Reports : System.Web.UI.Page

{

private ReportDocument DocPersonnelReport;

protected void Page_Load(object sender, EventArgs e)

{

}

private void ConfigureCrystalReports()

{

DocPersonnelReport = new ReportDocument();

DocPersonnelReport.Load(@"Y:\Crystal Reports\Test\TestStatus.rpt");

CrystalReportViewer.ReportSource = DocPersonnelReport;

}

private void Page_Init(Object sender, EventArgs e)

{

ConfigureCrystalReports();

}

}

}

I would appreciate any help.

Thanks in advance!

 


Viewing all articles
Browse latest Browse all 1507

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>