How can the error 'Client found response content type of 'text/html'.. be interpreted

后端 未结 9 1534
深忆病人
深忆病人 2020-12-18 17:54

I\'m using C# and connecting to a WebService via an auto-generated C# proxy object. The method I\'m calling can be long running, and sometimes times out. I get different err

9条回答
  •  感动是毒
    2020-12-18 18:35

    The webserver is returning an http 500 error code. These errors generally happen when an exception in thrown on the webserver and there's no logic to catch it so it spits out an http 500 error. You can usually resolve the problem by placing try-catch blocks in your code.

提交回复
热议问题