在SharePoint中集成SQL reporting services

 

安装SQL 2005 Reporting service

1 我的SQL server 2005 reporting services和Sahrepoint Portal Server安装在同一台服务器时。在启动reporting services的过程中经历了很多周折。

先用reporting service configuration manager设置reporting service。将Report Server 和Report manager的Virtual Directory改到sharepoint portal server-80下面。设置成功了。但是当我访问http://localhost/reports时,得到一个错误提示:

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Cannot use 'partitionResolver' unless the mode is 'StateServer' or 'SQLServer'.

Source Error:

Line 164:    </webParts>
Line 165:    <machineKey validationKey="DA65D9E6980E9CDB52426BF3C793EBAF7FBA3B866117F3CC" decryptionKey="9D7E984E12AA43FDECAB1E05D1E952822680D27BD1F37439" validation="SHA1" />
Line 166:    <sessionState mode="SQLServer" timeout="60" allowCustomSqlDatabase="true" partitionResolverType="Microsoft.Office.Server.Administration.SqlSessionStateResolver, Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
Line 167:  </system.web>
Line 168:  <runtime>

到网上找了一圈,发现了这个( http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=588158&SiteID=1)。按照这个帖子的建议,我在IIS中新建了一个名为SQLReports -81的站点,使用81端口。重新设置Report Server 和Report manager的Virtual Directory后,访问 http://localhost:81/Reports 终于成功了。

安装web part

SQL 2005提供了查看报表的web part。

MSDN上有详细介绍如何安装http://msdn2.microsoft.com/en-us/library/ms159772.aspx

1 在C:/Program Files/Microsoft SQL Server/90/Tools/Reporting Services/SharePoint下面,可以找到安装文件RSWebParts.cab。

2 使用命令行安装web part

C:/Program Files/Common Files/Microsoft Shared/web server extensions/60/BIN/STSADM.EXE -o addwppack -filename "C:/Program Files/Microsoft SQL Server/90/Tools/Reporting Services/SharePoint/RSWebParts.cab"

3 在Sharepoint中发布WEB PART,进入站点设置->web part。web part library中发布两个新的web part:

ReportView是用来显示单个报表的。Report Explorer 可以在整个report服务器上浏览报表。

安装开发环境,如果开发机器和报表服务器不是一台机器,需要在开发机器上安装VS2005和SQL server 2005的workstation component。安装完毕,可以在VS2005看到新的工程模板Business interlligence project。

SharePoint上集成SQL reporting services的三种方法:

1 直接利用SQL 2005的web part,ReportView是用来显示单个报表的。Report Explorer 可以在整个report服务器上浏览报表。

MSDN上有详细的说明http://msdn2.microsoft.com/en-us/library/ms159772.aspx

2 也可以使用Page Viewer 来访问单个报表的URL。这是最快速的方法,而且不需要安装SQL server的web part。

3 使用Web page内嵌ReportView控件的方法,可以增加自己的个性化功能,如提供更友好的参数录入的界面。

下面是一个使用PageView Web控件来使用报表的例子。

http://www.dreams.idv.tw/~code6421/Doc/SqlRepSvc2.pdf 

有2个web cast都讲到如何将SQL reporting 集成到SharePoint中,可以参考。

Integrating Windows SharePoint Services with SQL Server Reporting Services (Level 200)

Introducing Reporting Services for SQL Server 2005—Level 200

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值