Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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;
  }
  }

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question