Я только начал делать отчет в wpf, но получаю следующую ошибку
An error occurred during local report processing. The report definition for report 'Project Path' has not been specified. Could not nto fild file 'File Path'
вот мой код
private void Window_Loaded(object sender, RoutedEventArgs e)
{
List<Model.TruckDriver> truckDriver = BLL.TruckDriver.GetTruckDriversList(2);
ReportViewer reportViewer = new ReportViewer();
reportViewer.ProcessingMode = ProcessingMode.Local;
reportViewer.LocalReport.ReportPath = "Report1.rdlc";
ReportDataSource ds = new ReportDataSource("ReportViewer_Driver", truckDriver);
reportViewer.LocalReport.DataSources.Add(ds);
reportViewer.RefreshReport();
windowsFormsHost1.Child = reportViewer;
}
В чем может быть проблема?
Спасибо