Deploying Report Server Projects Across Multiple Environments
By Tom Nonmacher
For many organizations, dealing with multiple environment setups such as development, testing, staging and production is a common scenario. This blog post aims to delve into how to deploy Report Server Projects across these varied environments. The SQL Server versions considered are SQL Server 2012 and SQL Server 2014. We will also touch upon MySQL 5.6, DB2 10.5 and Azure SQL.
One of the fundamental steps in setting up Report Server Projects across multiple environments is creating a Shared Data Source and a Shared Dataset. A Shared Data Source provides a convenient way to manage database connection information. Similarly, Shared Datasets can be used across multiple reports.
Implementing the Shared Data Source in SQL Server 2012 and SQL Server 2014 involves using the SQL Server Data Tools. After launching the Data Tools, create a Shared Data Source by following these steps: right-click on the Shared Data Sources folder, then select 'Add New Data Source'. Fill in the necessary details in the wizard that comes up.
-- Create a Shared Data Source
USE ReportServer
GO
INSERT INTO DataSource (Name, Link) VALUES ('SharedDataSource', 'Data source link')
GO
In MySQL 5.6, you can create a shared data source by connecting to the MySQL server and executing the following SQL command:
-- Create a Shared Data Source
USE mysql;
CREATE DATABASE SharedDataSource;
For DB2 10.5, the process to create a shared data source is similar. You need to connect to the DB2 database and execute the following SQL command:
-- Create a Shared Data Source
CONNECT TO db2inst1;
CREATE DATABASE SharedDataSource AUTOMATIC STORAGE YES;
Once we have the shared data sources and datasets ready, the next step is deploying the report server projects. In SQL Server 2012 and 2014, you can deploy the report server project by right-clicking on the project in the Solution Explorer and selecting 'Deploy'. However, this method does not provide a way to manage deployment to multiple environments.
To effectively manage deployments across multiple environments, it's best to use a script or a tool that can automate the process. One such tool is the 'rs.exe' utility provided by Microsoft. This utility can be used to publish reports, create folders, and manage shared data sources and datasets. The utility uses a script file that contains commands in Visual Basic .NET code.
In conclusion, deploying Report Server Projects across multiple environments involves creating shared data sources and datasets, and then deploying the report server projects. To effectively manage the deployment process across different environments, it's best to use an automation tool like 'rs.exe'. The process of creating shared data sources and datasets varies slightly depending on the database technology used (SQL Server, MySQL, DB2, etc.), but the core concept remains the same.
Check out the latest articles from all our sites:
- How to Take Advantage of Flash Sales at Grocery Stores [https://www.ethrift.net]
- A brief history of the Galveston Hurricane of 1900 [https://www.galvestonbeachy.com]
- How to Plant and Maintain Chokeberry Bushes [https://www.gardenhomes.org]
- New Query Store Enhancements in SQL Server 2022 [https://www.sqlsupport.org]
- Heat: Why My Laptop Is Cooking My Lap [https://www.SupportMyPC.com]
- The Best Months to Visit South Korea for Cherry Blossoms and Fall Colors [https://www.treasureholidays.com]
Privacy Policy for sqlsupport.org
Last updated: Feb 03, 2026
sqlsupport.org respects your privacy and is committed to protecting any personal information you may provide while using this website.
This Privacy Policy document outlines the types of information that are collected and recorded by sqlsupport.org and how we use it.
Information We Collect
- Internet Protocol (IP) addresses
- Browser type and version
- Pages visited
- Time and date of visits
- Referring URLs
- Device type
Cookies and Web Beacons
sqlsupport.org uses cookies to store information about visitors preferences and to optimize the users experience.
How We Use Your Information
- Operate and maintain our website
- Improve user experience
- Analyze traffic patterns
- Prevent fraudulent activity
Contact
Email: admin@sqlsupport.org