2017-04-11 6 views
0

TFS vNext를 사용하여 Azure VM에 배포 된 웹 API를 업데이트하는 방법을 찾고 있습니다. Web API는 여러 Azure 가상 머신 (클래식)에 배포됩니다.파일을 VM에 복사 할 때 "Azure File Copy"작업이 실패했습니다.

"Azure File Copy"작업을 사용하여 게시 된 웹 사이트를 가상 컴퓨터의 관련 폴더로 복사합니다.

enter image description here

빌드가 벌금을 블롭 로컬 파일 경로에서 파일을 업로드 간다하지만이 문제를 해결하기 위해 관리되는 다음과 같은 오류

2017-04-11T10:54:53.1524432Z ##[error], ServiceCommandException\r\n FullyQualifiedErrorId :CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand\r\n"}};] 
2017-04-11T10:54:53.1674435Z ##[warning]'##vso[task.logissue type=error;code={"Task_Internal_Error":Failed to start service 'VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c'. Consult the logs below:' contains logging command keyword '##vso', but it's not a legal command. Please reference documentaion to fix any potentially syntax error (http://go.microsoft.com/fwlink/?LinkId=817296) 
2017-04-11T10:54:53.1684427Z ##vso[task.logissue type=error;code={"Task_Internal_Error":Failed to start service 'VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c'. Consult the logs below: 
2017-04-11T10:54:53.1684427Z Service 'VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c (VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c)' cannot be started due to the following error: Cannot start service VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c on computer '.'. 
2017-04-11T10:54:53.1684427Z CategoryInfo :OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException 
2017-04-11T10:54:53.1684427Z FullyQualifiedErrorId :CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand 
2017-04-11T10:54:53.1684427Z For more info please refer to https://aka.ms/azurefilecopyreadme};] 
2017-04-11T10:54:53.3654455Z ##[error]Failed to start service 'VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c'. Consult the logs below: 
Service 'VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c (VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c)' cannot be started due to the following error: Cannot start service VisualStudioRemoteDeployer28cc825e-0ecd-4362-a597-7ff9a10b7f2c on computer '.'. 
CategoryInfo :OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException 
FullyQualifiedErrorId :CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand 
+0

WinRM 연결을 허용하도록 컴퓨터가 구성되어 있습니까? 설명서를 검토 했습니까? https://github.com/Microsoft/vsts-tasks/blob/master/Tasks/AzureFileCopy/README.md –

+0

TFS의 버전은 무엇입니까? AzCopy 명령 줄을 사용하여 파일을 Azure VM에 복사 할 수 있습니까? (https://docs.microsoft.com/en-in/azure/storage/storage-use-azcopy#file-upload) –

+0

기계에서 WinRM 연결을 허용했으며 TFS 2017 업데이트 1을 사용하고 있습니다. –

답변

0

실패 후. 오류를 일으키는 잘못된 자격 증명입니다. 컴퓨터 이름에 "admin login"로그인을 사용하고있었습니다. 이름의 로그인 부분 만 사용하면 정상적으로 작동합니다.