Skip to Content
avatar image
Former Member

Image not visible crystal report failed to load resource status of 404 not found

I am using visual studio 2013 with .net framework 4.5 crystal report version CR4VS_13_0_14. The problem i am facing about crystal report image. I am unable to see any image and chart in my report. I visit many URL of stack overflow and scn.sap.com regarding this problem and found many solutions. I applied many solutions but i am unable to solve my problem. I am ready to answer any of your question regrading my problem kindly help me out. here is the error image

I am loading my images from Mssql Database. In my db the datatype I set is "Image". I can see all the images in Visual Studio Report Viewer but when I call report from browser it shows no image in report...

Here is my report viewer aspx.cs code:

ReportDocument report = new ReportDocument();
  protected void Page_Init()
  {
  if (!Page.IsPostBack)
  {
  btn = Request.Form["btn"];
  if (btn == "btnEmployeeCard")
  {
  url = Server.MapPath("~/" + "Reports/Employee/employeeCard.rpt");
  }
  report.Load(url);
  CrystalReportViewer1.ReportSource = report;
  CrystalReportViewer1.SelectionFormula = selectionFormula;
  CrystalReportViewer1.ToolPanelView = CrystalDecisions.Web.ToolPanelViewType.None;
  }
  }

error.png (114.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 27, 2015 at 01:54 PM

    Hello,

    Search for these files:

    crystalimagehandler.asp

    imagehandlerdotnetbridge.aspx

    in C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319

    and for IISExpress in:

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETClientFiles\crystalreportviewers13

    Those aspx files should not be installed and can break existing applications.

    Don

    Add comment
    10|10000 characters needed characters exceeded