SSRS模拟数据源

时间:2013-02-22 17:58:29

标签: sql reporting-services performancepoint

我正在使用SSRS和PerformancePoint部署报告解决方案。我有4个数据库。 3我完全控制另一个我只有一个可以访问具有只读权限的SQL的其他域帐户,由于此数据库的安全协议,这是唯一的选项。

我无法终身了解如何使用域帐户保护数据发布报告。我已经尝试了在谷歌上可以找到的数据集的每种身份验证组合,但它不起作用。

想法?

1 个答案:

答案 0 :(得分:1)

我的理解是您没有将来自4个不同服务器的数据作为此报告中的数据源进行组合,是否正确?

然后,在ReportManager中 - 转到报告属性 - 即右键单击报告,然后从下拉菜单中左键单击“管理”。然后选择“数据源”选项卡 - 它将具有以下选项:

A custom data source

Data source type: Microsoft SQL Server  
Connection string: Data Source=YOUR.SERVER.IP.ADDRESS;Initial Catalog=YOUR_DATABASE_NAME        

Then choose: Connect using: Credentials stored securely in the report server

You can enter your domain username and password there: e.g. 
User name: SOMEDOMAIN\MyUser.Name
Password: MyPa$$wo%d

Then checkmark: Use as Windows credentials when connecting to the data source
You may need to checkmark this one too: Impersonate the authenticated user after a connection has been made to the data source

这会将您的登录名/密码组合安全地存储在服务器上,并允许报告连接到您的数据源。

您也可以为共享数据源执行此操作。

否则,如果您尝试将3台服务器中的数据与仅有只读访问权限的1台服务器相结合,我建议:

  1. 在指向该1个只读服务器的某个服务器上创建链接服务器条目,对于其他两个服务器可以再创建两个服务器条目

  2. 创建存储过程,为您的报告提供数据集,根据需要从其他3台服务器收集数据 - 这样您只需要在报表服务器上提供1个数据源

  3. 这会回答你的问题吗?