Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have a page on my 3.5 framework webforms site that displays reports. It is using report viewer 10.0.0.0. The reports render for every browser but IE11. Only reports that display information in doc type format render as an html table and are stored in a .rdl file. The param box loads but when the report is selected and ran I just get the loading gif and it times out. I've tried to troubleshoot with the IE11 dev tools and they time out upon opening it's a perfect storm here. Another bit of info I run the website locally in VS2012 and in IE11 it renders just not on the IIS7 server.

I've tried a custom .browser file to emulate IE10 no luck there. Any help will be appriciated or maybe just knowing I'm not the only one.

Update: I found the exception on my server logs. HttpHandlerInputException, Missing URL parameter: IterationId.

Thanks in advance.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
260 views
Welcome To Ask or Share your Answers For Others

1 Answer

Found it on the url listed in the comments. I can't believe how lame this is that when microsoft puts out a new browser they do not test as we do.

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"]) &&
        HttpContext.Current.Request.QueryString["ResourceStreamID"].ToLower().Equals("blank.gif"))
    {
        Context.RewritePath(String.Concat(HttpContext.Current.Request.Url.PathAndQuery, "&IterationId=0"));
    }
}

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...