成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

一步一步實現ReportingServices2008匿名訪問

數據庫 SQL Server
在ReportingServices2005中我們需要匿名訪問報表的時候,只需要在IIS里面做下簡單設置就可以實現,而在ReportingServices2008(R2)中不在依靠IIS,只是占用的還是80端口而已。其實匿名訪問有很多中解決辦法,譬如:使用ReportViewer控件、與SharePoint集成等等......

在ReportingServices2005中我們需要匿名訪問報表的時候,只需要在IIS里面做下簡單設置就可以實現,而在ReportingServices2008(R2)中不在依靠IIS,只是占用的還是80端口而已。其實匿名訪問有很多中解決辦法,譬如:使用ReportViewer控件、與SharePoint集成等等......

下面我介紹SQL團隊技術博客所提供的比較徹底而且通用的方法 。(注:修改配置文件前如果害怕出問題請提前備份)

第一步:編譯SQL團隊所提供的代碼并將所生成的Microsoft.Samples.ReportingServices.AnonymousSecurity.dll文件拷貝到SQL Server的安裝目錄*:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\bin下

你的項目中還需引用Microsoft.ReportingServices.Interfaces.dll 否則編譯會通不過

第二步:修改*:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer 和*:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager文件中的web.config文件,替換二者中的節點,將

  1. <authentication mode="Windows" />  
  2. <identity impersonate="true"/> 

替換為

  1. <authentication mode="None" />  
  2. <identity impersonate="false"/>  

第三步:修改*:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer修改rereportserver.config把

  1. <Authentication>  
  2.    <AuthenticationTypes>  
  3.     <RSWindowsNegotiate/>  
  4.     <RSWindowsNTLM/>  
  5.    </AuthenticationTypes>  
  6. <EnableAuthPersistence>true</EnableAuthPersistence>  
  7. </Authentication> 

修改為

  1. <Authentication>  
  2.    <AuthenticationTypes>  
  3.     <Custom/>  
  4.    </AuthenticationTypes>  
  5. <EnableAuthPersistence>true</EnableAuthPersistence>  
  6. </Authentication> 

第四步:修改*:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer修改rereportserver.config在

  1. <Security>  
  2.  <Extension Name="Windows" Type="Microsoft.ReportingServices.Authorization.WindowsAuthorization, Microsoft.ReportingServices.Authorization"/>  
  3. </Security>  
  4. <Authentication>  
  5.  <Extension Name="Windows" Type="Microsoft.ReportingServices.Authentication.WindowsAuthentication, Microsoft.ReportingServices.Authorization"/>  
  6. </Authentication> 

節點下,添加

  1. <Security>  
  2.        <Extension Name="None" Type="Microsoft.Samples.ReportingServices.AnonymousSecurity.Authorization, Microsoft.Samples.ReportingServices.AnonymousSecurity" />  
  3. </Security>  
  4. <Authentication>  
  5.        <Extension Name="None" Type="Microsoft.Samples.ReportingServices.AnonymousSecurity.AuthenticationExtension, Microsoft.Samples.ReportingServices.AnonymousSecurity" />  
  6. </Authentication>  

到此為止,ReportingServices2008(R2)的匿名訪問就大功告成了。

參考資料:

http://blogs.msdn.com/b/jameswu/archive/2008/07/15/anonymous-access-in-sql-rs-2008.aspx (官方教程)

http://lonely7345.cnblogs.com/ (對于AnonymousSecurity.dll有中文解釋)

原文鏈接:http://www.cnblogs.com/zhukuanglong/archive/2011/06/07/2074374.html


 

【編輯推薦】

 

  1. 淘寶海量數據庫之克服隨機IO難題
  2. 數據庫如何抵抗隨機IO的問題、方法與現實
  3. 一步一步設計你的數據庫之不可輕視的需求分析
  4. 養成一個SQL好習慣帶來一筆大財富
  5. 怎樣獲取某個數據庫的所有存儲過程SQL語句
責任編輯:艾婧 來源: 南望先生的博客
相關推薦

2022-08-29 15:19:09

CSS煙花動畫

2009-07-06 19:29:37

云計算私有云服務器虛擬化

2017-11-29 11:14:52

離線緩存URL協議緩存

2018-03-07 15:24:41

PythonMySQL

2013-03-18 16:09:27

JavaEEOpenfire

2009-12-18 16:27:43

Cisco路由器配置

2012-03-22 10:33:33

思杰XenDesktop

2017-09-28 09:40:36

圖像分類準確率

2022-09-30 15:37:19

Web網站服務器

2015-07-30 09:35:24

滑動返回代碼

2009-12-17 08:57:28

Windows 7磁盤分區

2017-08-24 08:31:41

2024-07-22 11:43:28

LVMPnetLab網絡

2019-11-04 10:06:19

MySQL索引

2010-07-12 17:10:23

Android應用程序

2021-12-03 07:59:21

Go語言進程

2020-10-28 15:03:25

C+代碼開發

2020-02-26 08:00:02

14點遭遇真兇

2017-07-15 21:10:58

CTOCEO技術

2009-11-30 15:56:57

點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 国产日韩欧美精品一区二区 | 成人在线视频网站 | 91久久精品| www.啪啪.com| 秋霞精品| 久久成人18免费网站 | 国产日韩欧美 | 国产福利一区二区 | 国产综合精品一区二区三区 | 中文字幕乱码一区二区三区 | 91素人| 日本一道本视频 | 狠狠色狠狠色综合系列 | 在线看91 | 国产一区二区三区 | 中文字幕国产高清 | 北条麻妃一区二区三区在线视频 | 亚洲一区二区三区四区视频 | 久久精品亚洲 | 日韩欧美国产精品 | 成人免费视频网站 | 日韩三级在线 | 一级高清 | 成年人视频免费在线观看 | 精品在线一区 | 亚洲一区二区三区在线播放 | 日韩中文字幕高清 | 日本一区二区影视 | 日韩国产一区二区 | 日韩精品在线播放 | 99伊人 | 日本免费视频在线观看 | 欧美男人天堂 | 亚洲福利网站 | 日本特黄特色aaa大片免费 | 国产亚洲黄色片 | 国产精品午夜电影 | 日韩一区二区三区在线视频 | 国产欧美日韩精品在线观看 | 日韩av最新网址 | 久久91精品久久久久久9鸭 |