Service Desk all versions
Requires Access To:
Crystal Reports (the report designer application)
When you use the DSN Setter tool (CrystalReportsDSNSetter.exe) to update the database settings on your Crystal reports, you get the following error in the log file:
Unable to cast object of type 'CrystalDecisions.CrystalReports.Engine.ReportDocument' to type 'CrystalDecisions.CrystalReports.Engine.SubreportObject'.
The DSN Setter tool does not support the update of a report if it contains subreports. See Setting the Crystal Reports DSN on the online help.
You need to use Crystal Reports to set the data source location both for the report itself and any subreports inside the report. In Crystal Reports, from the Database menu, click Set Datasource Location. Update the Datasource Location for the report and all of the subreports.
See also "Appendum 3 - Subreports" in the document Configuring Crystal Reports with a Service Desk SQL Database