Problem only connecting to Quantify WCF service from .Net Code

Quantity API SQL server is upgraded to 2019, then we have started getting this error while accessing from C# code using WCF services. Please help us in fixing this issue.

The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: ’

Hi, subba45.

To debug this issue can you copy what you get when you access the following URI from your browser -
{your-quantify-url}/wcfportal.svc
Also, could you confirm that Quantify Client connects to the server fine?
Also, please send us a zipped copy of the API project including the setting/config file.

Thanks for posting.

we are getting 404 error when we try to access {your-quantify-url}/wcfportal.svc in browser. Is that problem with configuration in Web?

Can you please us in resolving this issue.

Hi, subba45.

You will need to replace the {your-quantify-url} part with the actual URI of your server. In a properly setup Quantify Web and WCF you won’t receive a 404 for this URI. Could you check and let us know. We will assist you with the issue.

Thanks for posting.

We got this working by enabling Windows Communication Foundation HTTP/Non-HTTP Activation for .Net framework in ‘Windows features’.