Sunday, 21 May 2017

Crystal Reports are not showing images in the report for self-hosted clients

ISSUE: Crystal Reports are not showing images in the report for self-hosted clients.
Solution: This issue exists because the CrystalImageHandler.aspx is not registered in the IIS manager.
**Please make sure that an IIS administrator or someone with equal privileges performs the task needed to correct this on the server.**
The steps to take to correct this issue are as followed:
  • Log into the server hosting the IIS manager.
  • Open the IIS manager
  • Select the <Server name> -> Sites -> [Default Web Site -or- serverName]
  • Open the Handler Mappings of the server
  • Search that there is not a name of CR in the list
  • Search that there is not a Path of CrystalImageHandler.aspx in the list
  • If it does not exist right click and select Add Managed Handler…
  • Enter:
    • Requested path: CrystalImageHandler.aspx
    • NOTE: The following entry should work for either CR12 or CR13. The portion that is used is the PublicKeyToken which will match for either version
    • Type: CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    • Name: CR
    • Click requested restrictions
      • Mapping tab: nothing selected
      • Verbs tab: All verbs is selected
      • Access tab: script
  • Click Ok
  • Click Ok
  • Select the Reports folder
  • Select the Handler Mapping
  • Perform the same steps as above
  • If the CR handlers are not enabled, restart the worker process