Publish a report


After an SSRS report is created, it must be deployed before you can access it in finance and operations apps. You can deploy reports from the PowerShell or from Visual Studio. Deploying reports from PowerShell can be useful if you need to deploy a report in an environment that does not have access to Visual Studio. However, you should not do this in a Production environment.

You can deploy either all reports or a specific report from the PowerShell. To deploy all reports, open the PowerShell as an administrator and run the following command:

*C:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation \"C:\AosService\PackagesLocalDirectory\" *

Depending on the environment that you are using, the drive might vary. Generally, the drive is C:\, L:\, or K:\.

To run a specific report, you need the report name. Though you will open the PowerShell as an administrator, you will run the following command line instead:

*C:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName TaxVatRegister.Report*

To deploy a report from Visual Studio, you will need to add the report to your project. Right-click the report and select the Deploy option.

Screenshot of the Visual Studio Solution Explorer page showing the Deploy Reports option.