IIS 7 not recognizing svc file

后端 未结 4 980
天命终不由人
天命终不由人 2020-12-24 15:03

I\'m trying to publish a webservice using WCF on IIS7.

I\'ve created a Site for this project, and I created an Application too as MSDN suggested. I can open html fil

4条回答
  •  一整个雨季
    2020-12-24 15:31

    On windows 8, run DISM.exe in order to enable WCF:

    DISM /Online /Enable-Feature /FeatureName:WCF-HTTP-Activation
    DISM /Online /Enable-Feature /FeatureName:WCF-HTTP-Activation45
    

    Or if you are setting up everything using Server manager Dashboard's Add Roles and Features Wizard do not forget to check "HTTP Activation" under WCF Services

    enter image description here

提交回复
热议问题