Charts not showing on Crystal Reports Viewer in WebForm

2.3k Views Asked by At

After days of struggling, I finally have the viewer showing the images on it's icons and buttons, and showing the report nicely. However, as soon as it comes to a chart, all it it shows is a border and that little icon that shows there is supposed to be an image. Inspecting the image URL and trying to show that image in its own tab yields as little success.

What could I look at or do to get my charts showing properly?

2

There are 2 best solutions below

0
On

have you tried assigning the "NETWORK SERVICE" account write permissions to C:\Windows\system32\inetsrv\dynamic_images ?

is this row present in your web.config ?

<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>
0
On

Found this response on SAP's forum, related to a similar-sounding issue:

Since your dynamic images are okay it is likely the sscsdk80.dll (our charting engine) which is the problem. You'll find this in the bin or win32_x86 directory with the rest of your Crystal Reports dlls. It needs to be registered with regsvr32.dll because it is a COM dll. Try registering it to see if it helps.

If not, use Process Monitor to watch your system. Filter the results for your application (likely w3wp.exe because it is a web app). Then show only the results for Process and Thread activity. You'll want to look at the Load Image entries and look for stuff that never successfully loads - such as the sscsdk80.dll.

Source: Charts not showing on report

Also relevant: Crystal Reports for Visual Studio 2005 deployment trouble