As a general rule, any development conundrum not easily solved via 'Googling-ing' is an immediate blog candidate. Recently when attempting to deploy a SharePoint web part template with Visual Studio 2008 (
http://www.microsoft.com/downloads/details.aspx?familyid=FB9D4B85-DA2A-432E-91FB-D505199C49F6&displaylang=en) in a new Windows 7 environment - I got the following rather cryptic error:
The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were...
To remedy the issue, do the following (Note: These instructions are for Windows 7 and the names may vary somewhat if you're working with Server 2008):
-
Navigate to the Installed Programs List
-
Select the 'Turn Windows Features on or off'
-
Expand the 'Microsoft .NET Framework 3.5.1' item.
-
Check the 'Windows Communication Foundation HTTP Activation' box and hit OK.
You should be good to go now.