I am using ssrs for the reporting .I am sending parameter list including image url as a parameter. My report is unable to show image while rendering .
My image is in root folder of my web app.
i have sent image url like this
string path = "http://" + Request.Url.Host;
path = path + ":" + Request.Url.Port;
path = path + "/Image/Logo.png";
querystrings.Add(new KeyValuePair<string, string>("Logo_Url", path));`
- It is all ok while opening report but when i export it to pdf image couldnot be viewed.
I hope my question is clear. I have tried hard to make to clear so that i could be helped. thank you in advance.
for more clearance to my question
Report.ServerReport.SetParameters(lst1);
byte[] b = Report.ServerReport.Render("PDF");Response.Clear();
Response.ContentType = "application/pdf";
Response.OutputStream.Write(b, 0, b.Length);
Response.End();
This is how i export my report to pdf. Hope i ll get some idea around this