WCF gives an unsecured or incorrectly secured fault error

前端 未结 21 2545
予麋鹿
予麋鹿 2020-11-28 23:09

I am trying to consume a remote svc web service. I created the proxy class using svcutil.exe, and after that I\'ve added that class to my console application, b

21条回答
  •  难免孤独
    2020-11-28 23:46

    This is a very obscure fault that WCF services throw. The issue is that WCF is unable to verify the security of the message that was passed to the service.

    This is almost always because of a server time skew. The remote server and the client's system time must be within (typically) 10 minutes of each other. If they are not, security validation will fail.

    I'd call eloqua.com and find out what their server time is, and compare that to your server time.

提交回复
热议问题