cancel
Showing results for 
Search instead for 
Did you mean: 

Charts/images not showing in report viewer VS 2008 CR Basic

brad_hood
Explorer
0 Kudos

Hi, we currently have the same Visual Studio 2008 Crystal Reports Basic 2008 asp.net web application running on three servers. Two of these servers, which are development/uat, display images and/or graphs on reports in the crystal report viewer fine but the third, which is our production box, displays the red X for all charts/images. We have reviewed/updated the web.config file as per resources listed below. Here is our system configuration and what we have done/verified so far:

Windows Server 2003 32 bit Service Pack 2

IIS 6

Crystal Reports Basic Runtime for Visual Studio 2008

Microsoft .NET Framework 3.5 SP1

We have reviewed and verified the information provided by the u201CCrystal Report Viewers in Visual Studio .NET Dynamic Imagesu201D as it pertains to the section u201CUsing Crystal Reports Basic (version 10.5 bundled with Microsoft Visual Studio .NET 2008)u201D.

We have verified the security settings on the C:\windows\temp folder across all three servers.

We have verified all setting in iis for the web site across all three servers.

We can see the u201C.pngu201D files getting created in the C:\windows\temp\ cr_tmp_image_ folder on the production server.

We have verified the image path is correct utilizing the CrystalImageHandler.aspx.

We have verified that the assemblies exist in the c:\widows\assembly folder

Exporting the reports as PDFs produces the charts and images fine so it appears to be a report viewer control issue.

This production box originally had a Visual Studio 2003 asp.net application on it using, we think, crystal report viewer 11.5 (CrystalDecisions.Web 11.5.3300.0), if that makes a differenceu2026

Right now we are at a loss, we have reviewed all help files we can locate on this issue and still have not been able to resolve. Any insight on something we may have missed or could try next would be appreciated.

Thanks for your time.

View Entire Topic
former_member183750
Active Contributor
0 Kudos

The only thing I can think of at this time would be the registry (looks like you've done everything else...)

Look for these keys:

HKLM\SOFTWARE\Business Objects\10.5\Crystal Reports.

Look for ChartSupportPath, CommonFiles and Path.

Make sure you are not installing "aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer4/..." files under "wwwroot\abc\". THis will not work with CR 10.5.

Also, give u201CIIS_WPGu201D access to the u201CSystemu201D user or u201CNetwork Serviceu201D (whichever account your app pool uses)

Ludek

brad_hood
Explorer
0 Kudos

Hi Ludek. Thanks for the quick response but still no luck.

I checked the registry and the entries match one for one against our "control" server where the application is working.

I also checked the "IIS_WPG" access and that too were identical to our "control" server.

And our application is on a virtual directory on one of drives not in the wwwroot folderu2026

brad_hood
Explorer
0 Kudos

Does anyone know how to go about openeing a ticket with sap?

Thanks

former_member183750
Active Contributor
Former Member
0 Kudos

Hello,

have you find the problem to this issue? i'm having the same problem.

thank yoy

brad_hood
Explorer
0 Kudos

Hi,

No we have not had time to investigate further. We wound up pointing to one of our devlopment boxes, where the images are showing, in the meantime until we can look at in more detail...

former_member183750
Active Contributor
0 Kudos

Create a new thread. We'll see if we can help you there.

Ludek

0 Kudos

Does anyone have an update on this? I too have the same issue. It's really frustrating since I know the report works fine on my development laptop, but publishing it on my production web server breaks all of the dynamic image links. My web server has Crystal Reports Basic Runtime for Visual Studio 2008, if that helps any.

If a new thread has been started for this issue please point me to it where I can keep tabs on it. Thanks!

0 Kudos

Apparently this is a real PITA between versions and whatnot. I know that CR XI R2 has support for dynamic images so I tried installing that runtime package on the web server and changed the IIS web.config file to reference the 11.5.3700.0 assemblies. This was after I saved the modified report on my laptop using my own local CR XI R2 install.

When then I tried to view the web reports it winds up erroring out, because there is also the CrystalDecisions.Web 10.5.3700.0 assembly on the web server.

It seems as if multiple versions of Crystal don't play well with one another. My laptop has VS 2005 and VS 2008 installed on it, and VS 2005 is integrated with CR XI R2 Developer. VS2008 is integrated with CR 10.5 Basic. On top of that I have third party programs which have been bundled with older CR runtime packages (8.5 for example). What a mess!

former_member183750
Active Contributor
0 Kudos

I don't think you are correct. I have an image that has .NET 2005, .NET 2208, CR 10, CR XI r2 and CR 2008 and all work just fine.

Best thing to do is to have peek at these articles;

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0437ea8-97d2-2b10-2795-c202a76a...

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45...

If these don't work, search the [notes|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true] database. If that does not work, create a new forum thread, specific to your version of CR and your issue. If the issue can not be solved over the forum, you may have to create a phone case, but one bridge at a time. For, me it remains to be proven that this does not work. Until I am able to break it here, there will be no Technical Escalations to QA for fixes as I can not go to QA or R&D and tell them that it does not work.

Ludek

0 Kudos

Thanks for your reply. Actually I ran across those articles you linked and already tried the recommended steps. I believe you in your assertion that it can work and all co-exist. My complaint and frustration is the manual working around that is required in order to achieve this. Out of the box these solutions should work a lot cleaner than what is currently the case. I suppose that development tools are allowed to fall into this trap because it's assumed that developers are techies and can just figure it out. Imagine if the endusers we are creating these reports for were expected to follow suit?

In the interim I have abandoned the dynamic image links as provided out of the box in CR, and have worked around the matter differently in my reports. It works, is a bit ugly, but is the best I can do after spending roughly 6 hours trying to research and plug away to no avail...