Crystal Reports Images not showing up
When deploying a .NET web application with Crystal Reports you will need to install the appropriate crystal reports library on the server to use any reports you’ve built.
I recently ran into an issue where Crystal Reports Images (images in a report) would not show up on a new Windows 2003 Server. After extensive web research with no solution in sight I decided to try to solve the problem on my own.
Note: If you’re having problems with the images in the header bar (BusinessObjects toolbar) then please see this site below:
- http://www.gutgames.com/post/Crystal-Reports2c-issues2c-and-fixes.aspx
- or simply google “toolbar images for crystal reports not showing up”
To resolve my error I went into the Web Server(IIS) manager and performed the following steps:
1) Clicked on ‘My Website’ where I was using crystal reports
2) Clicked on ‘Handler Mappings’
3) On the right side under ‘Actions’ I selected ‘Add Managed Handler’
4) Request Path: CrystalImageHandler.aspx
5) Type: CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions…….
6) Crystal Reports Image Handler
7) Press OK
Success!
I was able to track down this issue by looking at the URL for non-working images. All pointed to the following:
http://www.MySite/CrystalImageHandler.aspx?*****useless info******
As you can see, the system is trying to access a handler to read out images specified in the report.
I hope this solution can save you hours of potentially wasted time and frustration.
David Millar, Lead DeveloperMillar, as he is known around the office, is a rock-solid, workhorse coder. If anyone really understands what a chunk of code is doing it’s him. Family, friends, sports, and his wife are the most important things in life to him. He plays sports weekly and golf in the summer when he’s not busy hanging out with friends and family. Recently he got married to his wife Kate in a beautiful ceremony surrounded by friends and family on a perfect summer day. A humanitarian at heart, his positive demeanour is rattled most when “society makes decisions without considering more relevant information from the present”, and people “make self indulgent decisions that hurt society and everyone else”.
