You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I am using this task to deploy my service in an azure vm and getting the following error
[server]: Attempting to locate [ExampleService]
2024-05-14T05:26:47.0754716Z [servername]: ***dentified [Example Service] installation directory [Path of service directory]
2024-05-14T05:26:47.0767834Z [servername]: Copying [C:\azagent\A1_work\8\drop\XXX] to [Path of service directory]
2024-05-14T05:26:48.7505135Z [servername]: Starting [ExampleService]
2024-05-14T05:26:56.9634504Z ##[error][servername]: Service responded with [7]. See https://docs.microsoft.com/en-us/windows/desktop/cimwin32prov/startservice-method-in-class-win32-service for details.
2024-05-14T05:26:57.0267148Z ##[section]Finishing: Deploy Windows Service
Hello I am using this task to deploy my service in an azure vm and getting the following error
[server]: Attempting to locate [ExampleService]
2024-05-14T05:26:47.0754716Z [servername]: ***dentified [Example Service] installation directory [Path of service directory]
2024-05-14T05:26:47.0767834Z [servername]: Copying [C:\azagent\A1_work\8\drop\XXX] to [Path of service directory]
2024-05-14T05:26:48.7505135Z [servername]: Starting [ExampleService]
2024-05-14T05:26:56.9634504Z ##[error][servername]: Service responded with [7]. See https://docs.microsoft.com/en-us/windows/desktop/cimwin32prov/startservice-method-in-class-win32-service for details.
2024-05-14T05:26:57.0267148Z ##[section]Finishing: Deploy Windows Service
The task appears as follows:
displayName: 'Deploy Windows Service'
inputs:
DeploymentType: DeploymentGroup
ServiceName: '$(ServiceName)'
ArtifactPath: '$(System.DefaultWorkingDirectory)/XXXX'
InstallService: true
InstallationPath: '$(System.DefaultWorkingDirectory)/XXX/ExampleServicehost.exe'
RunAsUsername: username
RunAsPassword: password
InstallTopShelfService: true
The text was updated successfully, but these errors were encountered: