Error:
When printing a Crystal report in Dynamics Report Manager (DRM), the follow error message is appearing:
Unable to display report in report viewer.
Report does not contain a parameter named XXX.
Cause:
Cause 1:
The parameter on the DRM report is not correct. (See Resolution 1.)
Cause 2:
The parameter on the Crystal report is not being seen by DRM even though it is setup correctly on the report in DRM. (See Resolution 2.)
Resolution:
Resolution 1:
- Go to Reports | Dynamics Report Manager | Dynamics Report Manager Explorer.
- Highlight the report, click the Edit Report button.
- In the Report Maintenance window, click Duplicate to create a copy of the report.
- In the Report Maintenance window, verify the duplicated report is appearing.
- Click the Parameters tab.
- Delete the current parameters on the report by selecting each parameter and clicking the Delete Parameter button.
- Click the Add Parameter button.
- Click Import and import in the parameters from the Crystal report.
- Click Save.
- Try printing the copy of the report.
- If it prints correctly with no errors, repeat the Steps 1-2 and 5-10 above for the original report.
Resolution 2:
- In Crystal:
- Make a backup of the Crystal report, and then open the report in Crystal.
- Create a new parameter.
- Edit any Formula Fields that contained the original parameter to have the new parameter.
- Delete the original parameter.
- Save your changes.
- In DRM:
- Go to Reports | Dynamics Report Manager | Dynamics Report Manager Explorer.
- Highlight the report, click the Edit Report button.
- In the Parameters tab, select the parameter, and then click the Delete Parameter button.
- Click the Add Parameter button.
- Click Import and import in the parameter from the Crystal report.
- Click Save.