views:

147

answers:

2

Hi,

My CrystalReportViewer won't display the charts in my Crystal Report. I get a red X. I am using C# and MVC. I've read somewehre that I might need a virtual path to the image folder but I am not really sure what that means as my chart is embedded in the report....Maybe I am missing something. Plz can anyone elaborate.

Thanks

Susan

A: 

OK. I figured it out....so MVC like I said is processing the route rather than letting the CrystalImageHandler handle it. So here are the steps to make MVC and Crystal ReportViewer display images work.

1) Read the link above(the one in my comment) and follow the web.config instructions.Make sure all the assemblies point to version 12. You will actually need to install the Crystal Runtime and or Crystal to get the latest assembly versions.

2) Add this line to your global.asax file to ignore the route of the CrystalImageHandler.

 routes.IgnoreRoute("{*allaspx}", new { allaspx = @".*(CrystalImageHandler).*" });
suzi167
A: 

Copy pg32conv.dll and sscsdk80.dll to Windows\System32. Hope it will solve thanks

Sreejith V. Nair