SAP Knowledge Base Article - Public

1496698 - Error: "Error in File <name of the report>: The Table could not be found" when viewing a Crystal Reports report

Symptom

  • Get the error when viewing a report using stored procedure as customized data source location
  • Creating new report from the same stored procedure has no issue
  • The error occurs only when data source location is changed dynamically at view time
  • Error: "Error in File <name of the report>: The Table could not be found"

Environment

  • Crystal Reports Server XI Release 2 Service Pack 5 (CRS XIR2 SP5)

Reproducing the Issue

  1. Create a report using stored procedure in Crystal Reports designer.
  2. Publish or save it to Enterprise folder.
  3. Login to CMC as administrator.
  4. Click Folders then go to the folder where the report created at step 1 is stored.
  5. Click the report title, click Process tab, then click Database.
  6. Click radio button Use custom database logon information specified here, then specify new location of stored procedure.
  7. Click Update button.
  8. Click Properties.
  9. Click Preview button then get the error.

Cause

The issue has been identified and logged under Problem Report ID ADAPT01218364.

Resolution

The issue has been fixed in Fix Pack 5.4 for BusinessObjects Enterprise XI Release 2 but no fix is delivered for CRS XIR2 since CRS XIR2 SP5 is the final release for the CRS XIR2 series.

Workaround:

  • Downgrade to SP4
  • Use newer crdb_odbc.dll that is delivered with Fix Pack 5.4, Service Pack 6, or later patches for BusinessObjects Enterprise XI Release 2 or Crystal Reports XI Release 2

See Also

1481948 - Error; The Table 'table_name' could not be found when using the Report Designer Component

1497646 - Error: "Error in File <name of the report>: The Table could not be found" when viewing a Crystal Reports report

Keywords

database, stored procedure, stored function, datadirect, odbc, change, 1218364 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , BI-BIP-SDK , Obsolete; BI-DEV-JAV, BI-DEV-NET-SDK, BI-DEV-WEB , Bug Filed

Product

Crystal Reports Server XI R2