SAP Crystal Reports - CrystalImageHandler.aspx not found

App_Start > RouteConfig.cs

public static void RegisterRoutes(RouteCollection routes)
{
    routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
    routes.IgnoreRoute("{resource}.aspx/{*pathInfo}");
    routes.IgnoreRoute("Report/{resource}.aspx/{*pathInfo}");
}


Setting up Viewers Virtual Directory

  1. Check the virtual directory is set up correctly on the development as well as production web servers.
  2. If the directory are not found, then create the folder manually.
  3. Go to C:\Program files (X86) > Sap Business Objects > Crystal Reports for Net Framework 4.0 > Common > Crystal reports 2011 > crystalreportviewers.
  4. Copy all the items inside crystalreportviewers folder and paste it to the crystalreportviewers13 folder.


Development Server Virtual Directory - \Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETClientFiles\crystalreportviewers13
Production Virtual Directory (IIS) - \inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13 | SITE_ROOT\aspnet_client\system_web\4_0_30319\crystalreportviewers13


Web.config

<system.web>
    <httpHandlers>
      	<add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
        <add verb="GET" path="Report/CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    </httpHandlers>
</system.web>

<system.webServer>
    <handlers>
        <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode" />
        <add name="CrystalImageHandler.aspx_GETR" verb="GET" path="Report/CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode" />
    </handlers>
</system.webServer>