Symptom
- VS 2010 web application using CRVS2010 deployed to a server
- Reports that contain dynamic images (graphs, etc.) display a red X instead of the image
Environment
- VS2010
- CRVS2010
- IIS7
Cause
- Using Integrated mode on IIS
- The <handlers> for the crystalImageHandler are not defined in the <system.webServer> section of the web.config
Resolution
- Using framework 2.0, 2.0, 3.5 add the following to the web.config file:
<add name="CrystalImageHandler.aspx_GET" path="CrystalImageHandler.aspx" verb="GET" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode,runtimeVersionv2.0" />
- Using framework 4.0 add the following to the web.config file:
<add name="CrystalImageHandler.aspx_GET" path="CrystalImageHandler.aspx" verb="GET" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode,runtimeVersionv4.0" />
See Also
Keywords
KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To