Reporting services匿名访问配置

修改前请将以下三个文件备份:

\ReportServer\web.config

                     \ReportServers\rsreportserver.config

                     \ReportManager\Web.config

 

1.     打开文件C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\ReportingServices\ReportServer下的web.config,修改文件里的

<authentication mode="Windows" />

    <identity impersonate="true"/>

改为:

<authentication mode="None" />

<identity impersonate="false" />

2.    打开C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\ReportingServices\ReportServer下的rsreportserver.config,修改

<Authentication>

              <AuthenticationTypes>

                     <RSWindowsNegotiate/>

<RSWindowsNTLM/>

              </AuthenticationTypes>

              <EnableAuthPersistence>true</EnableAuthPersistence>

       </Authentication>

改为:

<Authentication>

              <AuthenticationTypes>

                     <Custom/>(只修改这一行)

              </AuthenticationTypes>

              <EnableAuthPersistence>true</EnableAuthPersistence>

       </Authentication>

3.    还在第二步的文件中(rsreportserver.config)找到

<Security>

<Extension Name="Windows" Type="Microsoft.ReportingServices.Authorization.WindowsAuthorization,Microsoft.ReportingServices.Authorization"/>

</Security>

<Authentication>

<Extension Name="Windows"Type="Microsoft.ReportingServices.Authentication.WindowsAuthentication,Microsoft.ReportingServices.Authorization"/>

</Authentication>

在该代码下添加:

<Security>

<Extension Name="None"Type="Microsoft.Samples.ReportingServices.AnonymousSecurity.Authorization,Microsoft.Samples.ReportingServices.AnonymousSecurity"/>

</Security>

<Authentication>

<Extension Name="None"Type="Microsoft.Samples.ReportingServices.AnonymousSecurity.AuthenticationExtension,Microsoft.Samples.ReportingServices.AnonymousSecurity"/>

</Authentication>

4.    在C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\ReportingServices\ReportServer\bin

目录下添加:Microsoft.Samples.ReportingServices.AnonymousSecurity.dll文件

5.    修改完重新上传报表避免数据源错误问题

 

以下是reporting services配置:

 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值