views:

32

answers:

0

I'm trying to consume a WCF Data Service in a Silverlight App using an ADO.Net Entity Data Model, however I keep running into this error:

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

I've been trying to find a solution to this problem without any luck. I'm not sure but I think that something is wrong with the database I am trying to connect to because I have successfully connected and referenced a service using a different database (the problem is I need to be able to connect and reference to the database I can't...) Is there anything I should look at in how my database is set up? The one that works is running sql server 2005 and the one that doesn't work is referencing a server running 2008

related questions