Skip to content

RecreateService fails to delete existing service #42

@jamie-railton

Description

@jamie-railton

2020-07-01T13:07:20.3185522Z ##[section]Starting: Service
2020-07-01T13:07:20.3428619Z ==============================================================================
2020-07-01T13:07:20.3429962Z Task : Windows Service Manager
2020-07-01T13:07:20.3431085Z Description : Deploys a Windows Service to an Agent or a Deployment Group Target using WinRM.
2020-07-01T13:07:20.3432085Z Version : 4.4.9
2020-07-01T13:07:20.3432771Z Author : MDSolutions
2020-07-01T13:07:20.3435110Z Help : More Information
2020-07-01T13:07:20.3436382Z ==============================================================================
2020-07-01T13:07:21.5941123Z [SERVER]: Attempting to locate [Service]
2020-07-01T13:07:21.9657943Z [SERVER]: Recreate service set to [True], removing the Service [Service]
2020-07-01T13:07:23.1710433Z ##[error]Method invocation failed because [System.String] does not contain a method named 'Delete'.
2020-07-01T13:07:23.2082690Z ##[section]Finishing: Service

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions