如何配制SharePoint2007里面reportservices 2008的匿名访问

wengnet 2010-06-29 09:39:33
如题
...全文
95 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
cshadow 2010-06-29
  • 打赏
  • 举报
回复
但在微软MSDN BLOG中还是提供了以下这种设置匿名访问的方式。(http://blogs.msdn.com/b/jameswu/archive/2008/07/15/anonymous-access-in-sql-rs-2008.aspx)

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

<AuthenticationTypes>

<Custom/>

</AuthenticationTypes>

<EnableAuthPersistence>true</EnableAuthPersistence>

</Authentication>

•  打开在ReportServer与ReportManager文件夹中的web.config文件,修改其中内容:
      <authentication mode="None" />

     <identity impersonate="false"/>

•  将Microsoft.Samples.ReportingServices.AnonymousSecurity.dll拷贝到Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin目录中。
•  再次打开rsreportserver.config文件,查找<Security>与其下方的<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>

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

class="UnionCodeGroup"

version="1"

PermissionSetName="FullTrust"

Name="Private_assembly"

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

  <IMembershipCondition

class="UrlMembershipCondition"

version="1"

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

/>

</CodeGroup>

•  重启ReportingService服务
cshadow 2010-06-29
  • 打赏
  • 举报
回复
在ReportingService 2008中微软取消了匿名访问,不能像2005时那样靠修改IIS来实现匿名访问了
Justin-Liu 2010-06-29
  • 打赏
  • 举报
回复
mark
参考

3,242

社区成员

发帖
与我相关
我的任务
社区描述
企业开发 SharePoint
社区管理员
  • SharePoint社区
  • 霖雨
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧