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”
Expand the .NET 3.0 Framework Features and under the “WCF Activation”, select the “HTTP Activation” and click “Next” to install the feature.
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