web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

VSTS Build definition gets errors on Deploy Reports step

(0) ShareShare
ReportReport
Posted on by

Hello, everyone!

I have a problem described in title.

I have a Build agent on local Virtual Machine. I deployed this agent and a Build definition using this information: (). All configuration is standart.
Now my build definition gets error on "Deploy Reports" step.

Here is an error log:

Issues

Build
EXEC (0, 0)
EXEC(0,0): Warning : 2:09:04 AM: Package folder already exists in deployment:
Remove-AxReport : Unable to connect to the remote server
At C:\AOSService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\Repor
ting.psm1:356 char:9
+ Remove-AxReport -ErrorAction Continue -MaxDegreeOfParallelism ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Microsoft.Dynam...AxReportCommand
:RemoveAxReportCommand) [Remove-AxReport], WebException
+ FullyQualifiedErrorId : Unable to connect to the remote server,Microsoft
.Dynamics.AX.Framework.Management.Reports.RemoveAxReportCommand
[object Object]
C:\AOSService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAl
lReportsToSsrs.ps1 : System.Management.Automation.RuntimeException: An
exception of type System.Net.WebException occurred when making an http request
to: http://127.0.0.1/ReportServer. Refer to the log file for more details.
At C:\DynamicsSDK\DeploySSRSReports.ps1:47 char:9
+ & $DeployAllReportsToSsrsScript -PackageInstallLocation $Meta ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
tion
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
n,DeployAllReportsToSsrs.ps1
[object Object]
Write-Message : 2:15:36 AM: Error deploying SSRS reports: Error: Unexpected
exit code from DeployAllReportsToSsrs.ps1. See log for more details. Exit
code: 1
At C:\DynamicsSDK\DeploySSRSReports.ps1:154 char:5
+ Write-Message "Error deploying SSRS reports: $($_)" -Error
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
tion
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
n,Write-Message
[object Object]
Process completed with exit code -1 and had 3 error(s) written to the error stream.
My question is how can I fix it?
Thank you!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Eugene Voloshchenko Profile Picture
    on at

    I found the solution.

    I renamed my PC-Name on virtual machine and it renamed the server name as well automatically.

    So, to fix an error, I needed to open Reporting Server Configuration Manager and change name of Report DataBase as well.

  • Manoj Veeramanoharan Profile Picture
    on at

    Hi , Im getting same error .Should the change report Database or Report databse server . I changed the server to my currenct machine . Still the error persist. Can you please check

  • ShootAcoustic Profile Picture
    66 on at

    Thanks! I found the same problem and resolved by this way.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans