WCF IIS 发布报“404错误”:

【记录】WCF IIS 404

修改 Web.config 如下:

<system.webServer>
    <handlers>
        <remove name="svc-Integrated-4.0" />
        <add name="svc-Integrated-4.0" path="*" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode,runtimeVersionv4.0" />
    </handlers>
</system.webServer>

参考:

相关文章:

  • 2022-12-23
  • 2021-06-21
  • 2021-11-18
  • 2022-12-23
  • 2021-08-22
  • 2021-08-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
  • 2021-07-21
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案