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?
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"/>
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;
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).*" });
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With