image not showing in crystal report viewer in asp.net

Scenario 1=> 
check if your web.config has the fallowing crystal image handlers... if not add it and check.!!

under http handlers :

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

under handlers:

<add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode"/>

Scenario 2=>
I found the solution from SAP forum. 
Just change settings.AutoRedirectMode = RedirectMode.Permanent to settings.AutoRedirectMode = RedirectMode.Off in RouteConfig.cs


Scenario 3=>
Please also try to change .Net Framework mode from Integrated to Classic in the ApplicationPool configuration (IIS Application Pools)

Links : https://stackoverflow.com/questions/12212924/crystal-report-viewer-not-showing-images

Comments

Popular posts from this blog

How to use DbFunctions.TruncateTime

Provision AWS EC2 Instance and RDS with Terraform, and Deploy Spring Boot App to EC2 Instance via GitHub Action Pipeline

Microsoft Access Connectivity from C#