'Image not Showing in crystal report viewer
I am using Crystal Report version 13.0.16.1954, In the data which is displayed in Crystal Report Viewer (Main report preview in visual studio 2013) having the images. When i am trying run the reports in the Crystal Report viewer in browser, Images are not showing up.Image showing as a label.Report screen shot was attached in below.
Can any one help me to fix this?
Solution 1:[1]
Have you added the handler to your config file? Hopefully, this line of code will help you on your development.
Solution 2:[2]
adding the following handllers to the web.config solved my issue
the important point make sure to remove the precondition tag
<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" />
</handlers>
</system.webServer>
<system.web>
<httpHandlers>
<add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
</httpHandlers>
</system.web>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Peter Saul |
Solution 2 | MarwanAbu |