弹出SQL报表的时候,出现空白的解决方法

本文介绍了解决IIS7环境下SQL报表显示为空白页的问题。通过在IIS中添加受管处理器,可以避免查看报表时出现404错误。步骤包括打开IIS管理器、选择站点、配置处理器映射并添加特定的受管处理器。

在IIS7的服务器上搭建了一个新的站点,弹出SQL报表的时候出现了空白页面,解决方法是添加操作路径:

It was brought to our attention that in some installations using IIS 7 a managed handler must be added for the report viewer web control, otherwise a 404 - File or Directory not found message is displayed when viewing sql reporting services reports.  This issue was confirmed by a customer and corrected by taking this additional step in IIS to register the handler in addition to the web.config handler modifications.

1. Open the IIS by typing the "inetmgr" in run command. 
2. Goto your site in the list of web sites and select it.
3. Now, see the Features view area. Here, you can see all options available for the web site. From all the options select "Handler Mappings".
4.  Now, click on the "Handler Mappings" section then you will see all the mappings applied for that web site. Now, on the right side panel, you are able to see all the options available for the handler mappings. Select the option "Add Managed Handler" 
5. When you click that link, you will see a popup window with the text boxes.
Request Path = Reserved.ReportViewerWebControl.axd,
Type = Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Name= Reserved.ReportViewerWebControl.axd
6. Click OK and do IISRESET.

链接:http://modulemasters.com/SupportForums/tabid/255/view/topic/postid/954/Default.aspx 

 

 

转载于:https://www.cnblogs.com/withoutaword/p/3547640.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值