Crystal report pictures do not show both problem analysis and solutions

  • 2020-05-24 05:28:26
  • OfStack

There are two kinds of situations when the pictures inside the crystal report are not displayed after the layout:
1 is: crystal report toolbar on the picture is not displayed;
2 is: the crystal report in the picture object is not displayed;

Solution for the first case:
The image on the toolbar is not displayed due to the posted server, the crystal report required site related image style was not found.
On the page where the crystal report picture is not displayed, look at the source code of the page. Can be in < head > < /head > Found between

</head> 
<link href="/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/css/default.css" 
rel="stylesheet" type="text/css" /> 
</head> 

This includes the relevant styles and the required images on the crystal sheet.
In this directory of the machine:
 
C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50727 

CrystalReportWebFormViewer3 folder.
You can copy this directory from your development machine to the server to solve the problem.

Solutions for the second case:
Image objects designed in crystal reports are not displayed on the published server.
Solutions:
Configuration files at the site
web. config. Under the relevant section, add the following.
 
<httpHandlers> 

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

Can solve the crystal report in the picture object does not show the problem.

Related articles: