"The data is invalid" error during creation of new web application when application pool name is greater than 64 characters long

Article ID: 2522112 - View products that this article applies to.
Expand all | Collapse all

Symptoms

You get the following error message in the SharePoint User Interface during the creation of a new web application for SharePoint on a Windows 2008 server running IIS7:

The data is invalid. (Exception from HRESULT: 0x8007000D)

The application pool is not created in IIS 7, and neither is the web application. 
However the content database is created and the configuration objects table is updated with information on this application pool that does not exist in IIS.

When you try to extend any other web applications within the SharePoint UI, you will get the following error message:

"Unknown Error"

In ULS log, you will see the following message:
w3wp.exe (0x0C1C)                        0x0D4C Windows SharePoint Services    General                        8nca Verbose  Application error when access /_admin/extendvs.aspx, Error=The data is invalid. (Exception from HRESULT: 0x8007000D)   at System.DirectoryServices.DirectoryEntry.CommitChanges()     at Microsoft.SharePoint.Administration.SPMetabaseObject.Provision()     at Microsoft.SharePoint.Administration.SPProvisioningAssistant.ProvisionApplicationPool(String applicationPoolId, Int32 identityType, String username, SecureString secStrPassword)     at Microsoft.SharePoint.Administration.SPApplicationPool.ProvisionInternal(SecureString sstrPassword)     at Microsoft.SharePoint.Administration.SPApplicationPool.Provision()     at Microsoft.SharePoint.Administration.SPWebApplication.Provision()     at Microsoft.SharePoint.ApplicationPages.ExtendVirtualServerPage.BtnSubmit_Click(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 

Cause

IIS7 does not allow application pool names longer than 64 characters.

Resolution

Contact Microsoft to open a support call to have this data cleaned up.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2522112 - Last Review: March 11, 2011 - Revision: 4.0
APPLIES TO
  • Microsoft Windows SharePoint Services 3.0
  • Microsoft Office SharePoint Server 2007
Keywords: 
KB2522112

Give Feedback