将ReportingService 2008配置为匿名访问

众所周知在ReportingService 2008中微软取消了匿名访问,我们再也不能像2005时那样靠修改IIS来实现匿名访问了。但在微软MSDN BLOG中还是提供了以下这种设置匿名访问的方式。

  •   在sql server的安装目录中找到MSRS10.MSSQLSERVER\Reporting Services\ReportServer中的rsreportserver.config文件。查找 ,并将其中内容修改为:

      

                               

                                               

                               

                                true

               

  •   打开在ReportServer与ReportManager文件夹中的web.config文件,修改其中内容:

      

         

  •   将Microsoft.Samples.ReportingServices.AnonymousSecurity.dll拷贝到Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin目录中。
  •   再次打开rsreportserver.config文件,查找与其下方的,修改其内容为:

      

                   

                 

                 

                       

                  

  •   打开rssrvpolicy.config文件,在其中添加如下内容:

      

                                    class="UnionCodeGroup"

                                    version="1"

                                    PermissionSetName="FullTrust"

                                    Name="Private_assembly"

                                    Description="This code group grants custom code full trust. ">

                   

                                        class="UrlMembershipCondition"

                                        version="1"

                                        Url="D:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin\Microsoft.Samples.ReportingServices.AnonymousSecurity.dll"

                        />

                   

  •   重启ReportingService服务 

  Microsoft.Samples.ReportingServices.AnonymousSecurity.dll下载:/Files/ww3128/ReportingServices.AnonymousSecurity.rar

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16436858/viewspace-623446/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/16436858/viewspace-623446/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值