SAP Knowledge Base Article - Public

1525004 - Red X is displayed in place of an image or logo in a Crystal Report viewed in a web browser


  • View a Crystal Report in a .NET web application.
  • The report contains logos or images.
  • A red x is displayed instead of the images.



  • Visual Studio 2008
  • Crystal Reports Basic for Visual Studio 2008
  • .NET Framework 2.0
  • IIS 6


  • The Crystal Reports .NET SDK makes use of an httpHandler to manage images/logos/pictures in a report.
  • Requests for report images are directed to CrystalImageHandler.aspx, along with a query string variable dynamicimage. Like this:
  • All requests directed to CrystalImageHandler.aspx are directed to CrystalDecisions.Web.CrystalImageHandler. There is no physical file called CrystalImageHandler when using the Microsoft .NET 2.0 Framework. 
  • The red x is displayed because the CrystalImageHandler is missing in the web.config file.


  • Modify the web.config file in your web application directory to include the required CrystalImageHandler settings. Below is a sample of what is required.
  • Also, find a sample web.config file attached to the bottom of this article.
<add key="CrystalImageCleaner-AutoStart" value="true"/>
<add key="CrystalImageCleaner-Sleep" value="60000"/>
<add key="CrystalImageCleaner-Age" value="120000"/>
<add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>


KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem


SAP Crystal Reports, version for Visual Studio .NET 2008