Recently I was looking into cloud-hosted dev environment upgrade issue on Step 25. This step performs 2 main activities:
- Report Deployment
- Database Sync
I downloaded execution log file and started investigating Step 25 issue by looking in Step25UpdateReports_############.log under RunbookExecution folder. I noticed multiple reports errored out, I searched by one of the reports names in the log and found this error:
Publish-AXReport : An error occurred while deploying the report BankDepositbyCustomer.Report, PersonnelManagement.
This might be because the SQL Server Reporting Services has not been installed, or is not configured correctly.
At K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\Reporting.psm1:503 char:9
+ Publish-AXReport -MaxDegreeOfParallelism 1 -ErrorAction Conti …
Something seemed odd with this report, so I searched for the report in Application Explorer and noticed that BankDepositbyCustomer report does not belong to PersonnelManagement model! it belongs to a different model.
Solution: Since the report is not part of PersonnalManagement model, I opened K:\AosService\PackagesLocalDirectory\PersonnalManagement\Reports folder and removed unrelated .rdl files. I repeated the same for couple more models and this did the trick.