WCF gives an unsecured or incorrectly secured fault error

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

    In my case, it was a setting on the IIS application pool.

    Select the application pool --> Advanced Settings --> Set 'Enable 32 Bit Applications' to True.

    Then recycle the application pool.

提交回复
热议问题