Ошибка отчета Crystel в VS2010
При попытке показать Crystal Report появляется ошибка:
Could not load file or assembly 'file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.
Код для галочки CrystelReport:
Dim rptInvoiceDt As New DataTable PrintReporObj = New DataAccessLayer rptInvoiceDt = PrintReporObj.Filldatatable("SELECT * FROM InvoiceReport WHERE JobListID=" & JobAndTrackingMDI.GetJobID & "") If rptInvoiceDt.Rows.Count = 0 Then KryptonMessageBox.Show("Record Not found") Else Dim Rpt As New ReportDocument Dim ReportPath As String = Application.StartupPath & "\Reports\rptInvoice.rpt" Rpt.Load(ReportPath) Rpt.SetDataSource(rptInvoiceDt) '<--When This Line execute the error occur --> CRVInvoice.ReportSource = Rpt End If