mmajcica / DeploySsrs

Build-Release task for VSTS/TFS that manages Microsoft's SQL Server Reporting Services
MIT License
21 stars 21 forks source link

Error while executing through PSSession #51

Closed chintansp closed 4 years ago

chintansp commented 4 years ago

I am preparing the script which will deploy report through automated deploy. When i run the script on my report server it will execute properly. But when i tried to integrate into automated deploy it will initiate the powershell using PSSession at that time it's failing the deployment with below error.

Failed to establish proxy connection to http://101.112.20.1/ReportServer/ReportService2010.asmx : There was a downloading 'http://101.112.20.1/ReportServer/ReportService2010.asmx'.

even i tried to setup new proxy like below

` $proxy = New-RsWebServiceProxy -ReportServerUri $reportServerUri

Get-RsFolderContent -Proxy $proxy -ReportServerUri $reportServerUri -RsFolder $sourceRSFolder | Where-Object TypeName -eq 'Report' | Select-Object -ExpandProperty Path | Out-RsCatalogItem -Proxy $proxy -ReportServerUri $reportServerUri -Destination $downloadFolder`

chintansp commented 4 years ago

Report issue on wrong project