wcf binding - WCF Service Error -
I have a WCF service deployed on the Windows 2003 server. We use a WPF application to consume this service. Are there. If we deploy a new version of the WCF service or for some time IIS and WPF applications leave the idle and then try to run a functionality, we receive the following exception:
content type does not match the content type of the response message / html binding (text / xml; charset = UTF-8). When using custom encoder, make sure that the IsContentTypeSupported method is implemented correctly. The first 119 bytes of the response were: '& lt; HEAD & gt; & Lt; TITLE & gt; 500: Server Error [20-0004] & lt; / TITLE & gt; & Lt; / HEAD> & Lt; Body & gt; & Lt; H1 & gt; 500: Server Error [20-0004] & lt; H1 & gt; & Lt; / Body & gt; & Lt; / Html & gt;
Thanks and Regards,
A 500 error usually To see what happened was an unrestricted exception in the service, see in the Windows Event Log.
Comments
Post a Comment