Wednesday, April 22, 2015

Steps to configure crystal reports in published site in IIS

Steps to configure crystal reports in published site in IIS

1. Add Handler

Request Path - CrystalImageHandler.aspx
Type :- CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
Name :- CrystalImageHandler.aspx_GET

In Request restrictions
Deselect Invoke handler option.


2. Web.Config

In System.web , httphandlers section

<add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />

In System.Webserver, handlers section

<add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode" />

3. Run msi for crystalreports

CRRedist2008_x64

4. In VS design open crystal report verify database, republish.

No comments: