Showing results for 
Search instead for 
Did you mean: 

Graphic location not being recognized in CrystalReportViewer.

Former Member
0 Kudos

I am using

Crystal Reports XI

Visual Studio 2008

I tried putting this in for the "Graphic Location" formala:

It works fine when viewed via Crystal Reprots, but the default image displays in the CrystalReportViewer.

I have attached the crystal related elements of the web.config:


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

(Other items)

<add assembly="System.Xml.Linq, Version=, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

<add assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.ReportSource, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.Enterprise.Framework, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

What am I missing?


View Entire Topic
Former Member
0 Kudos


First Don't refer to CR dlls as this version is not tested with VS2008 and will not get integrated.

Secondly, try the same in the report, created in VS2008 IDE. Put the image in the report. Does it come ok?

Please let us know the formula you are using. I tried the same at my end (with VS2008) and the report display the image properly in the reports. Its included as an ole object. No formulas!



0 Kudos

actually, the dll versions tell the tale.

as AG pointed out, CR XI (version 11) will not integrate with VS2008. The dlls that are loading (10.5) do not support the graphiclocation property. You will need to ensure all of your references are 11.0 references and you will need to target the 1.1 framework as CR 11 was not built for the 2.0 framework and your viewer will not work with 2.0. You will need minimum CR XIR2 (11.5) to work with the 2.0 framework and minimum CR2008 to integrate with VS2008.


Former Member
0 Kudos

One other option would be to use the PDF printing using the print mode as PDF as mentioned in my previous post.



Former Member
0 Kudos

I will have to say this is a pain.

I found the 11.5 files under Business Objects/common/3.5/managed. I added them to a new project, but the web.config still reflected version 10.x entries and the CrystalImage handler was missing.

Well, I copied all my code over to the new project, changed the version information in web.config and my ASPX file, as well as copied the CrystalImageHandler web.config entries. With that done, the report displays the correct "Graphic Location" entries and a generated PDF does the same.

Thanks for your help.