WCF returning "The content type text/html of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8)" RRS feed

  • Question

  • Doing a simple walkthrough of how to do Data Binding in a WPF application using Entity Framework and WCF Data Services.

    Keep getting this error. Have already

    - confirmed that WCF HTTP and Non-HTTP Activation is running

    - run Visual Studio as Administrator

    When I put the service URL in browser, it says Request Error, see server logs for more details.

    When I open IIS and try to view the log, (even when as administrator) it tells me I don't have permission.

    This is supposed to be pretty basic stuff I'm doing--create and ADO.NET Entity Data Model from one table in a database, create a WCF Data Service on that model, and then use the service as a data source for a WPF Form.

    Any help would be appreciated.

    Saturday, November 15, 2014 12:29 AM