tobania / VSTS.Extension.SqlReportingServices

VSTS Extension for uploading SSRS Reports
MIT License
14 stars 20 forks source link

##[error]System.Management.Automation.ActionPreferenceStopException: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The request failed with HTTP status 401: Unauthorized. #63

Open Poo29 opened 2 years ago

Poo29 commented 2 years ago

2021-09-15T05:57:44.6546386Z ##[warning]Task 'SqlReportingServicesFolderDeployment' (1.0.4) is using deprecated task execution handler. The task should use the supported task-lib: https://aka.ms/tasklib 2021-09-15T05:57:44.6561709Z Preparing task execution handler. 2021-09-15T05:57:45.0958142Z Executing the powershell script: E:\Azure_DevOps\vsts-agent-win-x64-2.181.2_work_ten_tasks\SqlReportingServicesFolderDeployment_40abe74e-bbd1-43af-ac02-4f2364f01d78\1.0.4\SqlReportingServicesFolderDeployment.ps1 2021-09-15T05:57:45.4449318Z Preparing Deployment of RDL files... 2021-09-15T05:57:45.4463319Z 2021-09-15T05:57:45.4489297Z 2021-09-15T05:57:45.4747756Z [VERBOSE] >> Preparing script... (Verbose = true) - 2021-09-15T05:57:45.4761142Z 2021-09-15T05:57:45.4763704Z 2021-09-15T05:57:45.4767826Z [VERBOSE] >> Using following parameters: - 2021-09-15T05:57:45.4791549Z 2021-09-15T05:57:45.4818798Z 2021-09-15T05:57:45.4915702Z [VERBOSE] >> Remote root path: /Easy2/Reports/ - 2021-09-15T05:57:45.4916747Z 2021-09-15T05:57:45.4916954Z 2021-09-15T05:57:45.4917546Z [VERBOSE] >> Local root path: E:\Azure_DevOps\vsts-agent-win-x64-2.181.2_work_ten\r6\a_Construction-CI (2)\drop - 2021-09-15T05:57:45.4918026Z 2021-09-15T05:57:45.4918172Z 2021-09-15T05:57:45.4918645Z [VERBOSE] >> Attempt to update the datasource path: false - 2021-09-15T05:57:45.4919232Z 2021-09-15T05:57:45.4919371Z 2021-09-15T05:57:45.4919901Z [VERBOSE] >> Webservice: http://reportserver/pages/reportserver/reportservers.aspx - 2021-09-15T05:57:45.4920339Z 2021-09-15T05:57:45.4920481Z 2021-09-15T05:57:45.4920861Z [VERBOSE] >> WsUsername: - 2021-09-15T05:57:45.4921122Z 2021-09-15T05:57:45.4921260Z 2021-09-15T05:57:45.4949508Z [VERBOSE] >> WsPassword: *****- 2021-09-15T05:57:45.4951417Z 2021-09-15T05:57:45.4951936Z 2021-09-15T05:57:45.5141942Z Uploading files 2021-09-15T05:57:45.5156016Z Creating WebService proxy using credentials 2021-09-15T05:57:45.5156615Z 2021-09-15T05:57:45.5160479Z 2021-09-15T05:57:45.7144537Z ##[error]System.Management.Automation.ActionPreferenceStopException: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The request failed with HTTP status 401: Unauthorized.

This is the detailed log and its failing with the error mentioned,could you please help us out how to resolve this

dodgy99 commented 2 years ago

Hi, did you ever find a resolution to this? I am having the same problem

jmarti326 commented 10 months ago

Any update?