WCF Service returning “requested service '…' could not be activated” the first time it's accessed from an MVC site

后端 未结 10 1916
遥遥无期
遥遥无期 2021-02-02 09:10

We have a WCF service (with no security) that is being accessed by an MVC3 website.

On the developer machines we have no problems with it but when our TeamCity setup bui

10条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-02 09:29

    For me it turned out to be the Authentication setting in IIS was configured incorrectly. As such the authentication failure was blocking the initial request preventing the service from activating.

提交回复
热议问题