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

一步一步實(shí)現(xiàn)ReportingServices2008匿名訪問

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

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

下面我介紹SQL團(tuán)隊(duì)技術(shù)博客所提供的比較徹底而且通用的方法 。(注:修改配置文件前如果害怕出問題請?zhí)崆皞浞?

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

你的項(xiàng)目中還需引用Microsoft.ReportingServices.Interfaces.dll 否則編譯會(huì)通不過

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

  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> 

節(jié)點(diǎn)下,添加

  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. 淘寶海量數(shù)據(jù)庫之克服隨機(jī)IO難題
  2. 數(shù)據(jù)庫如何抵抗隨機(jī)IO的問題、方法與現(xiàn)實(shí)
  3. 一步一步設(shè)計(jì)你的數(shù)據(jù)庫之不可輕視的需求分析
  4. 養(yǎng)成一個(gè)SQL好習(xí)慣帶來一筆大財(cái)富
  5. 怎樣獲取某個(gè)數(shù)據(jù)庫的所有存儲(chǔ)過程SQL語句
責(zé)任編輯:艾婧 來源: 南望先生的博客
相關(guān)推薦

2022-08-29 15:19:09

CSS煙花動(dòng)畫

2009-07-06 19:29:37

云計(jì)算私有云服務(wù)器虛擬化

2017-11-29 11:14:52

離線緩存URL協(xié)議緩存

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

2022-09-30 15:37:19

Web網(wǎng)站服務(wù)器

2017-09-28 09:40:36

圖像分類準(zhǔn)確率

2015-07-30 09:35:24

滑動(dòng)返回代碼

2017-08-24 08:31:41

2009-12-17 08:57:28

Windows 7磁盤分區(qū)

2024-07-22 11:43:28

LVMPnetLab網(wǎng)絡(luò)

2019-11-04 10:06:19

MySQL索引

2010-07-12 17:10:23

Android應(yīng)用程序

2016-11-02 18:54:01

javascript

2021-12-03 07:59:21

Go語言進(jìn)程

2020-10-28 15:03:25

C+代碼開發(fā)

2020-02-26 08:00:02

14點(diǎn)遭遇真兇

2017-07-15 21:10:58

CTOCEO技術(shù)
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號

主站蜘蛛池模板: 日韩精品视频网 | 国内自拍视频在线观看 | 男女视频在线免费观看 | 国产精品久久久久久久久久 | 天堂在线www | 在线免费激情视频 | 久久久久久综合 | 日日夜夜免费精品 | 日日夜夜精品免费视频 | 国产精品69毛片高清亚洲 | 91网视频| 波多野结衣二区 | 四虎伊人 | 一级黄色生活视频 | 成人不卡视频 | 久久久久久久一区二区 | 国产欧美一区二区三区免费 | 久久夜视频 | 精品一二 | 久久久性 | 欧美激情久久久 | 欧美一级视频免费看 | 午夜男人视频 | 91秦先生艺校小琴 | 亚洲一区二区中文字幕 | 亚洲性人人天天夜夜摸 | 最新中文字幕在线播放 | 国产精品黄色 | 91国产视频在线 | 久久狠狠| 丝袜美腿一区 | 欧美另类视频在线 | 国产在线播放av | 91免费看片神器 | 97色在线视频| 国产一区二区精品 | 亚洲高清一区二区三区 | 国产小u女发育末成年 | 亚洲国产精品久久久久秋霞不卡 | 男人天堂久久 | 人人天天操|