Configuring Automated SSRS Deployment

Modified on Tue, 24 Nov at 1:46 AM

This guide explains how to configure SQL Server Reporting Services (SSRS) deployment for an SDT environment. SDT publishes shared datasets and reports through the SSRS Report Server web service. If configured with filesystem access, it can also deploy the Synergetic DataExtension and update the SSRS configuration files.

What the deployment changes

The SynSSRS product is deployed as part of an environment upgrade when the selected release includes a SynSSRS package. The package can contain .rdl report and .rsd dataset files directly, or an embedded *_SynSSRS.exe payload. SDT extracts the payload without running the installer.

The deployment:

  • Creates the configured report, shared data source, and dataset folders if they do not already exist.
  • Creates missing shared data sources using the environment's DBPatcher database configuration. Existing shared data sources and their credentials are not overwritten.
  • Publishes the package's shared datasets and reports, and rebinds their data source and dataset references to the configured catalogue folders.
  • Removes top-level reports in the configured report folder when their names are listed as deprecated in the package.
  • When Path is configured, copies Synergetic DataExtension files and updates rsreportserver.config and rssrvpolicy.config. The SSRS service is stopped and restarted only when extension files or configuration have changed.

Before deploying, confirm that the target release and environment are correct. Take the normal SSRS catalogue backup for the customer before a production deployment, especially when reports are being replaced or removed. SDT's filesystem backup covers the extension files and SSRS configuration files; it is not a backup of the SSRS catalogue.

Prerequisites

Before configuring the attributes, confirm:

  1. The target environment has a SynSSRS product and the intended release contains its SSRS package.
  2. The SSRS Report Server endpoint is reachable from the computer that runs SDT.
  3. The selected authentication method is supported and the account has permission to publish to the configured SSRS catalogue folders.
  4. If deploying the DataExtension, the SDT account can write to the SSRS ReportServer and ReportServer\bin folders. It must also be able to manage the SSRS service if a restart is required.
  5. If SDT needs to create shared data sources, the environment's DBPatcher product has the necessary database connection attributes. Existing shared data sources are not updated by SDT.

Configure the environment's SSRS attributes

In the SDT Management Portal, open the target environment's SynSSRS product, select Edit SSRS attributes, enter the applicable settings below, and save.

Configuration tip

For ordinary report and dataset publishing, the ReportServer web service URL is usually the only SynSSRS setting you need to enter. The catalogue folders have defaults, and leaving the username and password blank uses Windows Integrated credentials from the account running SDT. Configure Path and related filesystem settings only when deploying the DataExtension or updating SSRS configuration files.

Portal field Product attribute Required? Value and behaviour
SSRS ReportServer web service URL SSRSWebServiceUrl Yes Enter the Report Server web service base URL, for example https://ssrs-host/ReportServer. Do not enter the web portal URL ending in /Reports. SDT appends ReportService2010.asmx; a full URL ending in .asmx is also accepted.
SSRS target report folder SSRSReportFolder No SSRS catalogue path for reports. Defaults to /SynergeticReports.
SSRS target data source folder SSRSDataSourceFolder No SSRS catalogue path for shared data sources. Defaults to /Data Sources.
SSRS target dataset folder SSRSDataSetFolder No SSRS catalogue path for shared datasets. Defaults to /Datasets.
SSRS deployment username SSRSUsername No Optional account for Report Server web service authentication. Use DOMAIN\user for a domain account. If blank, SDT uses Windows Integrated credentials from the account running SDT.
SSRS deployment password SSRSPassword Conditional Enter the password when using an explicit username, and confirm it in the second password field. The API encrypts this product attribute for storage.
Path Path No Filesystem path to the SSRS ReportServer directory or its bin directory. This is required for DataExtension and SSRS XML configuration deployment, but not for publishing reports and datasets through the web service.
SSRS ReportServer local path on SSRS host SSRSLocalServerPath Conditional Local ReportServer\bin path on the SSRS host, not a UNC path. Set this when SDT cannot derive the local path from Path, for example when using a custom UNC share.
SSRS Windows service name SSRSServiceName No Windows service name SDT uses when restarting SSRS after filesystem changes. Defaults to SQLServerReportingServices. Set this only if the service on the SSRS host has a different name.

The SSRS username and password are for the Report Server web service. They are separate from SQL credentials for shared data sources.

Choose the filesystem Path

Path must identify the SSRS server's ReportServer folder or its bin folder. Examples:

C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer
\\ssrs-host\E$\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer
\\ssrs-host\SSRSShare\ReportServer\bin

Use the actual installation path and share name for the target server. A local path is useful when SDT runs on the SSRS server. When SDT runs on another computer, use a UNC share that the SDT account can access. The account needs write access to both ReportServer and ReportServer\bin.

When using an administrative drive share such as \\ssrs-host\E$\..., SDT can translate the share path to the server's local drive path. For a custom share, also set SSRSLocalServerPath to the corresponding local path on the SSRS host, for example:

C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer\bin

SDT can also use an existing local path in the SSRS policy configuration. If it cannot determine the local path, the SSRS check reports an error and asks for SSRSLocalServerPath.

If Path is blank, report and dataset publishing through the web service can still run. DataExtension deployment, SSRS XML updates, and filesystem checks and backups are skipped.

Choose the catalogue folders

The target folder fields are optional SSRS catalogue paths, not report parameters or database names. Leave them blank to use the standard locations:

Content Default catalogue path
Reports /SynergeticReports
Shared data sources /Data Sources
Shared datasets /Datasets

Set a field only if the target SSRS catalogue uses a different folder. Use the exact catalogue path, for example /School/Reports, and make sure the deployment account can create or update items there. SDT creates missing folders but does not move or remove other folders.

Run and verify the deployment

  1. Save the SynSSRS attributes for the correct environment.
  2. Run the SSRS check in SDT. It tests connectivity and authentication against the Report Server web service. When Path is set, it also validates access to the SSRS folders and checks that the SSRS configuration files can be read.
  3. Start the environment upgrade with the release that contains the intended SynSSRS package.
  4. Review the SDT log for package extraction, folder and shared data source setup, dataset and report publishing, deprecated report removal, and optional DataExtension deployment.
  5. Confirm the SynSSRS product release was updated and verify the reports and datasets in the target SSRS catalogue.

Individual reports rejected for an invalid report definition or processing error are logged and skipped. If the package contains reports but none can be deployed, the SSRS upgrade fails rather than reporting success.

Troubleshooting

Symptom Checks
Cannot connect to SSRS Check that SSRSWebServiceUrl points to the Report Server endpoint, not the /Reports web portal. Confirm the URL and port are reachable from the SDT computer.
Authentication fails Confirm the username and password, or verify that the Windows account running SDT is authorised when using Integrated authentication.
Reports or datasets cannot be published Check that the account can create or update items in the configured catalogue folders. Confirm the configured folder paths match the target SSRS catalogue.
Shared data source is missing or cannot connect Check the DBPatcher connection attributes and the database permissions. SDT creates missing data sources only; it does not replace credentials on existing data sources.
DataExtension deployment is skipped Confirm Path is saved and that the package contains DataExtension files. Verify write access to the ReportServer and ReportServer\bin folders.
SSRS check cannot resolve the server's local ReportServer\bin path Set SSRSLocalServerPath to the local path on the SSRS host. Do not enter a UNC path in this field.
SSRS service does not restart Confirm SSRSServiceName matches the Windows service name on the SSRS host and that the SDT account can manage the service. A restart is attempted only when extension files or SSRS configuration have changed.
A report is skipped or the upgrade fails Review the SDT log for the report name and SSRS error. Invalid reports may be skipped individually; if all reports fail, the upgrade is aborted.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article