Home > Technical > Blank.gif missing error on ReportViewer

Blank.gif missing error on ReportViewer

Problem : While going through one of our web product, i got a report with a missing image on it. when i check the other reports also, all were having same issue. Reports were developed using RDLC. i was using google chrome. But this issue was not there on IE.  Might be first time i found that IE is working and all other browsers not working.



The html code was like this, related to missing image.



But i checked the report design and blank.gif image is not used anywhere. so i assumed that this should be an issue with report viewer.

I was correct when i checked on google. As mentioned on the below URl, issue with the report viewer.


I used one of workaround, this link mentioned and it is fixed now. that was adding following code to global.asax.

void Application_BeginRequest(object sender, EventArgs e)
// Bug fix for MS SSRS Blank.gif 500 server error missing parameter IterationId
// https://connect.microsoft.com/VisualStudio/feedback/details/556989/
if (HttpContext.Current.Request.Url.PathAndQuery.StartsWith(“/Reserved.ReportViewerWebControl.axd”) &&
!String.IsNullOrEmpty(HttpContext.Current.Request.QueryString[“ResourceStreamID”]) &&
Context.RewritePath(String.Concat(HttpContext.Current.Request.Url.PathAndQuery, “&IterationId=0”));




Categories: Technical Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s