安装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:
|
到网上找了一圈,发现了这个( 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
本文详细记录了SQL Server 2005 Reporting Services与SharePoint Portal Server集成的过程,包括解决配置错误、安装WebPart及设置开发环境等步骤,并介绍了三种集成方式。

963

被折叠的 条评论
为什么被折叠?



