WCF Service Client: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding

后端 未结 19 2400
情书的邮戳
情书的邮戳 2020-11-27 18:30

I\'ve got a WCF Service running on my local IIS server. I\'ve added it as a service reference to a C# Website Project and it adds fine and generates the proxy classes automa

19条回答
  •  Happy的楠姐
    2020-11-27 18:54

    I solved this problem by setting UseCookies in web.config.

      
        
    

    and setting enableVersionHeader

      
        
    

提交回复
热议问题