Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crystal Report Viewer not showing Images

I am using Crystal Report v9x. In the data which is displayed in Crystal Report Viewer having the images. When i am trying to show the reports in the Crystal Report viewer, Images are not showing up.

Can any one give me some idea what to do?

like image 434
Brijesh Patel Avatar asked Aug 31 '12 09:08

Brijesh Patel


3 Answers

Have you tried looking in your Web.config for the CrystalImageHandler (in httpHandlers section)? I had to add a line to get my embedded images to show up:

<add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
like image 197
Rodney L Avatar answered Oct 18 '22 18:10

Rodney L


If you are all alright on the Web.config section, and if you are on netFramework greater than 4.0 try this.

On the App_Start Folder, look for RouteConfig.cs and comment out the following line

 Settings.AutoRedirectMode= RedirectMode,Permanent;
like image 24
Eduardo Hidalgo Avatar answered Oct 18 '22 18:10

Eduardo Hidalgo


I'm using ASP.NET MVC after 2 days of searching this solved my issue and image showed up the solution just add the following line to your file RouteConfig.cs

1- go to folder App_Start in your project

2- paste the following ignore line to the file RouteConfig.cs :

routes.IgnoreRoute("{*allaspx}", new { allaspx = @".*(CrystalImageHandler).*" });
like image 2
Abdullah Avatar answered Oct 18 '22 18:10

Abdullah