Load Report Failed - Invalid Table Number
I am trying to get the samples working from Business Objects - csharp_win_adodotnet running 1.14 .NET with VS 2003 C#. The ADO.NET data looks fine from PUBS db but I cannot get Crystal to set the datasource. Fails on this stmt -
//Pass the populated dataset to the report
crReportDocument.SetDataSource(dataSet);
Stack Trace - StackTrace " at CrystalDecisions.ReportAppServer.ReportClientDocum entWrapper.EnsureDocumentIsOpened()\r\n at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)\r\n at CrystalDecisions.CrystalReports.Engine.ReportClass .Load(String reportName, OpenReportMethod openMethod, Int16 parentJob)\r\n at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.v()\r\n at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.(Object \a_)\r\n at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.SetDataSource(DataSet dataSet)\r\n at csharp_win_adodotnet.Form1..ctor() in c:\\crystal\\crnet\\csharp_win_adodotnet\\csharp_w in_adodotnet\\form1.cs:line 81" string
|