Reporting Service for SQL 2008匿名访问报表方法

Posted on 2010-01-14 17:16  Leon0812  阅读(992)  评论(0编辑  收藏  举报

Reporting Service for SQL 2008匿名访问报表方法

下載文檔  下載工具


1.AnonymousSecurity.cs编译成Microsoft.Samples.ReportingServices.AnonymousSecurity.dll,拷贝这个DLL到
C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin

 

2.修改两个web.config配置文件
(位于
C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer和
C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportManager)

    <authentication mode="Windows" />
    <identity impersonate="true"/>
替换为:
    <authentication mode="None" />
    <identity impersonate="false"/>

3.修改配置文件rereportserver.config
(位于C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer)

<Authentication>
   <AuthenticationTypes>
    <RSWindowsNegotiate/>
    <RSWindowsNTLM/>
   </AuthenticationTypes>
   <EnableAuthPersistence>true</EnableAuthPersistence>
</Authentication>
替换为:
<Authentication>
   <AuthenticationTypes>
    <Custom/>
   </AuthenticationTypes>
   <EnableAuthPersistence>true</EnableAuthPersistence>
</Authentication>

 


   <Security>
    <Extension/>
   </Security>
   <Authentication>
    <Extension/>
   </Authentication>
下面添加
<Security>
       <Extension />
</Security>
<Authentication>
       <Extension />
</Authentication>

 

Copyright © 2024 Leon0812
Powered by .NET 9.0 on Kubernetes