zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    android debug:stack trace
    android binder IPC 通信中 asInterface 与 asBinder
    ubuntu WPS 对话框 使用GTK主题的方法
    init.rc
    make_ext4fs 文件权限控制
    百度地图api,点击标注,改变标注marker图标的链接地址
    dispatchEvent 自定义触发事件,常用于自定义鼠标事件或点击事件
    vue 中监听窗口发生变化,触发监听事件, window.onresize && window.addEventListener('resize',fn) ,window.onresize无效的处理方式
    chomre 控制台断点调试
    css,scss解决样式:表格的重叠边框
  • 原文地址:https://www.cnblogs.com/xymBlog/p/4583246.html
Copyright © 2011-2022 走看看