An error occurred when verifying security for the message

前端 未结 8 1213
半阙折子戏
半阙折子戏 2020-12-05 18:03

When I try to call a WCF service I am getting the following message \"An error occurred when verifying security for the message.\"

When I remove the custom authenica

8条回答
  •  伪装坚强ぢ
    2020-12-05 18:14

    Another cause of this message is when some of your machines are not synchronized in time. WCF, by default, allows a five-minute gap; beyond this, it throws an error if things are out of synch.

    The solution is to synch all your machines. time.windows.com is notorious for not working, so I suggest using something else. (If you're in a corporate environment, a local domain controller may be the correct choice here.)

提交回复
热议问题