I have a Reporting services project that has a number of reports in the the report folder and a Live, Test and Dev data source in the Shared Data Source folder.
我有一个报表服务项目,它在报表文件夹中有许多报表,在共享数据源文件夹中有一个活动的、测试的和开发的数据源。
I have set up the solution configurations to deploy to different folders on the server based on the config (eg. debug -> dev).
我已经设置了解决方案配置,以便基于配置将其部署到服务器上的不同文件夹(例如)。调试- > dev)。
My problem is that i need the reports in the dev folder on the server to use the dev datasource, the test reports to use the test datasource and the live reports to use the live datasource.
我的问题是,我需要服务器上的dev文件夹中的报告来使用dev数据源,测试报告来使用测试数据源,而live报告来使用live数据源。
What is the best approach to take?
最好的方法是什么?
2 个解决方案
#1
4
Put the datasources in different folders too.
将数据源也放在不同的文件夹中。
You can configure the RS project datasource folder as well as for RDLs, so you can keep the same name for the datasource.
您可以配置RS project datasource文件夹以及RDLs文件夹,因此您可以为datasource保留相同的名称。
#2
1
I would recommend that you create a reporting site per environment with the same folder structure and use data sources with the same name in all three places pointing to the appropriate database.
我建议您在每个环境中创建一个报告站点,使用相同的文件夹结构,并在所有三个指向适当数据库的地方使用相同名称的数据源。
#1
4
Put the datasources in different folders too.
将数据源也放在不同的文件夹中。
You can configure the RS project datasource folder as well as for RDLs, so you can keep the same name for the datasource.
您可以配置RS project datasource文件夹以及RDLs文件夹,因此您可以为datasource保留相同的名称。
#2
1
I would recommend that you create a reporting site per environment with the same folder structure and use data sources with the same name in all three places pointing to the appropriate database.
我建议您在每个环境中创建一个报告站点,使用相同的文件夹结构,并在所有三个指向适当数据库的地方使用相同名称的数据源。