IE浏览器的ReportViewer 11
我有我的3.5框架的web表单网站网页的显示报告。
它使用报表查看器10.0.0.0。报告渲染每一个浏览器,但IE11。
只有报告说,在文档类型的格式显示信息呈现为一个HTML表格,并存储在一个.rdl文件。帕拉姆箱负载,但在选择了报告,并跑到我刚刚得到的加载GIF和超时。我试着用IE11开发工具来解决他们超时,在打开它在这里一场完美风暴。信息的另一位我VS2012在本地运行的网站,并在IE11它呈现只是不IIS7服务器上。
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.
我试过定制.browser文件有效仿IE10没有运气。任何帮助将appriciated或者just知道我不是唯一的一个。
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.
更新:我发现我的服务器日志例外。 HttpHandlerInputException,缺少URL参数:IterationId。
Update: I found the exception on my server logs. HttpHandlerInputException, Missing URL parameter: IterationId.
先谢谢了。
发现它在评论中列出的URL。我怎么也不敢相信这瘸是,当微软推出新的浏览器,他们不考,因为我们做的。
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"));
}
}