Cryptic Error When Deploying Visual Studio 2008 SharePoint Web Part Template

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.

Posted on 4/21/2010 11:18:00 AM by sterlingt

Permalink | Comments (2) | Post RSSRSS comment feed |

Categories:

Tags:

Currently rated 1.5 by 24 people

  • Currently 1.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Comments

May 7. 2010 07:56

You just solved my problem with MOSS 2007 web part deployments -- thanks much!!

Claus Topholt dk

August 17. 2011 02:44

One of the more impressive blogs Ive seen. Thanks so much for keeping the internet classy for a change. Youve got style, class, bravado. I mean it. Please keep it up because without the internet is definitely lacking in intelligence.

Jimmy Kozner

Add comment


 

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

May 19. 2012 11:40