I am migrating a .net 3.5 ASP.net crystal report application to 4.0 and I am unable to get the reports to display with images.
Leaving the web.config file unchanged with the httphandlers and handlers sections as shown below:
<httpHandlers>
<add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
</httpHandlers>
</system.web>
...
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<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" />
</handlers>
results in:
HTTP Error 500.19 - Internal Server Error
Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'CrystalImageHandler.aspx_GET'
Removing the handlers sections from the web.config file successfully displays the report, but without images.
I am concerned about upgrading the report viewer version as I don't see a clear way to redistribute the crystal viewer 13 in the time frame we have (compared with the version 10.5 that we have used successfully for the last few years). Has anyone had any experience with this? How can I change the web.config file to show reports and show images?
Thanks