WCF gives an unsecured or incorrectly secured fault error

前端 未结 21 2505
予麋鹿
予麋鹿 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:49

    Same this problem i am facing my client application is WinForms application C# 4.0

    When i read the solution here, i checked Date & Time of client computer, but that was right and current time was showing, but still i was facing these problem.

    After some work-around i found that wrong time zone has selected, i am in India and time zone was of Canada, the host server is located in Kuwait.

    I found that system converts time to universal time.

    When i changed the time zone to India's time zone, the problem was soled.

提交回复
热议问题