This article has been archived. It is offered "as is" and will no longer be updated.
When you try to provision a Windows SharePoint Services 3.0 site by using the Microsoft Provisioning System from Microsoft Solution for Hosted Messaging and Collaboration (HMC) version 4.0, you receive a “0x80131509” error message from the Microsoft Office SharePoint 2007 provider. The error message resembles the following:
Client found response content type of 'text/html', but expected 'text/xml'
This problem occurs when 64-bit Microsoft Windows Server 2003 and Windows SharePoint Services are used for the collaboration server or for the collaboration servers.
This problem occurs because the HMC 4.0 installer encounters a problem when it creates the Internet Information Services (IIS) virtual directory that is named MPSSharePointAdminWS.
To work around this problem, perform the following operations:
On the local drive, use IIS Manager to note the path that the MPSSharePointAdminWS virtual directory refers to. Then, determine which application pool the MPSSharePointAdminWS virtual directory uses.
Delete the MPSSharePointAdminWS virtual directory, and then create a new virtual directory in IIS Manager.
Note Use the same name when you create the new virtual directory.
Point the new MPSSharePointAdminWS virtual directory to the same path and to the same application pool that the previous virtual directory used.
Make sure that Read and Execute are enabled when you create the new virtual directory.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
The following is an example of the code that contains the error message.
<errorContext description="Client found response content type of 'text/html',but expected 'text/xml'.The request failed with the error message:--<html><head><title>Error</title></head><body>The data is invalid.</body></html>--." code="0x80131509" executeSeqNo="173"> <errorSource namespace="SharePoint2007Provider" procedure="CreateSite"/> <errorSource namespace="ManagedSharepoint2007" procedure="CreateSite_"/> <errorSource namespace="ManagedSharePoint2007" procedure="CreateCustomerSite"/> <errorSource namespace="HostedSharePoint2007" procedure="CreateCustomerSite"/> </errorContext></response>