• SSRS匿名访问


    ---本人数据库是SqlServer2008 R2 匿名访问Reporting Service 2008

    我想通过访问Url的方式,把部署到Sql Server  Reporting Service 上的报表集成到Web应用中,但是直接访问地址总是要提示输入凭证,在网上找了几种方法都差不多,摘录一个: ReportingService是个很强大的报表引擎!但实现Reporting Service2008 的匿名访问是件比较费劲的事情,网上提供的方法挺多的,但都不适用于使用URL方式访问。

    RS2005依赖于IIS,可使用IIS的匿名账户进行匿名登录访问。而RS2008不依赖于IIS,即无法通过IIS的匿名账户进行访问,也就是你访问需要输入有效的用户名及密码。

    ------下面是匿名访问Reporting Service 2008的步骤 1、找到RS2008的安装目录,如果你是64位系统,并且安装的是64位的MSSQL2008,并且是默认路径安装,请移步文件夹:C:Program FilesMicrosoft SQL ServerMSRS10_50.MSSQLSERVERReporting Services  否则请根据你自己的设置去找。

    2、备份文件(注意文件夹):

    ①ReportServerweb.config

    ②ReportServer sreportserver.config

    ③ReportManagerWeb.config

    3、修改①、③两个文件

    查找:

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

    <authentication mode="None" /> <identity impersonate="false"/> 4、修改②文件

    查找:  <AuthenticationTypes>     <RSWindowsNegotiate/>     <RSWindowsNTLM/>  </AuthenticationTypes> 替换为:  <AuthenticationTypes>     <Custom/>  </AuthenticationTypes> 查找:  <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>

    5、下载文件:Microsoft.Samples.ReportingServices.AnonymousSecurity.dll 解压保存到目录“ReportServerin”文件夹下。

    到此为止配置结束,重启RS服务即可。

    该文引自:http://tedeum.iteye.com/blog/1208232 第5部的文件下载路径:http://files.cnblogs.com/files/xymBlog/%E5%8C%BF%E5%90%8D%E8%AE%BF%E9%97%AEReportingService2008.rar

  • 相关阅读:
    常见的压缩命令
    Linux忘记root密码的解决
    QQFM 中转站(囧转站)OOXX V1.1 by wy811007 (附SkinH_Net的使用) 程序失效 更新1.3版 未发布
    直接插入排序和希尔排序
    SIGABRT错误的调试办法
    UIGestureRecognizer有用文档摘抄
    HTC G14 Sensation Z710e 刷机总结
    iOS 之生命周期(转)
    算法时间复杂度分析基础(转)
    NSURLConnection的同步与异步
  • 原文地址:https://www.cnblogs.com/xymBlog/p/4583246.html
Copyright © 2020-2023  润新知