Cannot serve WCF services in IIS on Windows 8

后端 未结 6 1463
不知归路
不知归路 2020-11-29 15:52

When I try to serve a WCF service on IIS in a Windows 8 machine, I get the well known error

The page you are requesting cannot be served because of th

6条回答
  •  悲哀的现实
    2020-11-29 16:40

    This is really the same solution as faester's solution and Bill Moon's, but here's how you do it with PowerShell:

    Import-Module Servermanager
    Add-WindowsFeature AS-HTTP-Activation
    

    Of course, there's nothing stopping you from calling DISM from PowerShell either.

提交回复
热议问题