VS 2019 build can't find IIS service

w.n.bates's Avatar


09 Jul, 2019 06:03 PM

Have attempted to switch build image from VS 2017 to VS 2019. We use the IIS service as part of our build but the startup step indicates the service is not available.Any ideas as to why this would be?

Starting Internet Information Services (IIS) Start-Service : Cannot find any service with service name 'w3svc'. At line:1 char:1 + Start-Service 'w3svc' + ~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (w3svc:String) [Start-Service], ServiceCommandException + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell.Commands.StartServiceCommand

  1. Support Staff 1 Posted by Feodor Fitsner on 09 Jul, 2019 08:11 PM

    Feodor Fitsner's Avatar

    IIS is currently not installed on VS 2019 image, however I've added an issue to do that: https://github.com/appveyor/ci/issues/3022

    There is a suggested workaround in that issue.

  2. Ilya Finkelshteyn closed this discussion on 08 Sep, 2019 09:01 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac