Tip: Visual Studio Extensions for WSS on Windows 2008

by Steve Sofian 21. August 2009 07:43

When you install the Visual Studio Extensions for WSS, you are prompted to select a web site or create a new web site, and select an application pool to be used for the new site.  This site will be used for deploying your SharePoint artifacts into SharePoint.

However, if you are doing this on a Windows 2008 server, which is running IIS 7, there is an additional features that will need to be activated.  Otherwise, you will an encounter the following 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: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">…

Go to your Features in the Server Manager, click on “Add Features”

image

Expand the .NET 3.0 Framework  Features and under the “WCF Activation”, select the “HTTP Activation” and click “Next” to install the feature.

image

So if you are trying to install the 10 SharePoint free themes, you will need to enable the WCF Activation in order to deploy them.

Cheers

Be the first to rate this post

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

Tags: ,

Tips

Comments

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading



Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010 Steve Sofian
Locations of visitors to this page