VS 2019 build can't find IIS service

w.n.bates's Avatar

w.n.bates

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.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? 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