The server has rejected the client credentials, WCF as Windows Service

后端 未结 4 1478
误落风尘
误落风尘 2020-12-31 10:40

I am able to connect to my WCF service with the Win-form application, however i am not able to do so with my windows service. Whenever i fire open() to the proxy it throws t

4条回答
  •  失恋的感觉
    2020-12-31 10:51

    What is the authentication mode you are using on your WCF Service? Seems like the winform app is running and providing the correct credentials while your windows service is not running with the specified privileges or the credentials being passed are not valid. Try to inspect your request using Fiddler when made from you winforms vs Windwos service and see the difference.

提交回复
热议问题