代码改变世界

SQL SERVER 2008 Reporting Services 的一些小问题集合

2013-12-18 17:58  潇湘隐者  阅读(7305)  评论(3编辑  收藏  举报

实验环境:服务器  Windows Server  2008 R2 Standard 64bit

                  数据库  SQL SERVER 2008 R2 Standard 64bit

问题1:在SQL Server 2008下,配置了Reporting Services后,在IE里输入http://localhost/Reports/Pages/Folder.aspx从客户端用IE访问后,出现下面错误

                                                                                 中文提示

clip_image001[5]_thumb[1]

用户“xxxx\xxxx”不具有所需的权限。请验证授予了足够的权限并且解决了 Windows 用户帐户控制(UAC)限制问题。

                                                              英文提示

clip_image002_thumb[1]

User 'xxxx\xxxx' does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed.

 

出现这个问题,是因为系统管理员账户默认是禁用的,而Reporting Services 只赋予了"系统管理"权限给Administrator.解决这个问题可以以管理员权限运行IE浏览器即可。

clip_image003[4]_thumb[1]
当从客户端用IE连接http://xxx.xxx.xxx.xxx/Reports/Pages/Folder.aspx 访问报表管理器时,出现上面错误,则必须在"主文件设置"里,添加相关用户以及对应的权限。如下所示:

clip_image004[5]_thumb[1]

问题2:Reporting Services 查看相关报表时,需要”输入用户名和密码以访问数据源“, 这个是因为SQL Server Reporting Serveices的数据源配置的连接方式是“运行该报表的用户提供的凭据”,你可以选用"安全存储在报表服务器中的凭据"选项。如下图所示。

clip_image005[5]_thumb[2]

 

clip_image006[5]_thumb[2]

问题3:测试时

System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

clip_image007[5]_thumb[1]

System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

出现上面错误,是因为服务器没有安装ORACLE客户端组件的缘故。注意你安装了以后,如果没有重启服务器使相关配置生效,依然报如上错误。

问题4Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.

image

Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.

出现这个问题,是因为操作系统是64位,安装的Oracle客户端是32位的。需要安装64位的Oracle客户端组件(安装完成后记得重启,否则依然报上述错误)。