SharePoint 2007 errors when user creates MySite

There are various MySite issues after performing an installation of Microsoft Office SharePoint Server 2007 that uses distinct service accounts for the different components, such as a farm account, SSP application pool account, SSP timer and web service account, search account, distinct application pool accounts for each SharePoint Application, etc. Many of our previous installs were performed by client IT department staff within single server environments where they used a single AD account for all components of the install (shocking, I know).

There are a couple of configuration modifications that need to be made in order for MySite functionality to perform as expected.

First, you must Enable Self-Service Site Creation for MySite. If this is left in the default disabled state, you may get an error such as “Your personal site cannot be created because Self-Service Site Creation is not enabled. Contact your site administrator for more information.” To resolve this issue, navigate through the following structure: MOSS Central Administration >> Application Management >> Application Security >> Self-service site management. Checking the box for “Enable Self-Service Site Creation” allows users with the "Use Self-Service Site Creation" permission to create sites in defined URL namespaces, such as their MySite.

Depending upon your security configuration, you may then get a different, much more cryptic message when trying to create your MySite. Error: The site /personal/username could not be created. The following exception occurred: Value does not fall within the expected range. See below for the actual message that was bubbled up to the server event log. In order to resolve this issue, you must add the user account that is configured as the Application Pool identity for the web site to the “Farm Administrators” group through the Central Administration >> Operations >> Security Configuration >> Update farm administrator’s group. This, of course, requires an IISReset.

My Site creation failure for user ‘DOMAIN\username’ for site url ‘http://SharepointSite/personal/username’. The exception was: Microsoft.Office.Server.UserProfiles.PersonalSiteCreateException: A failure was encountered while attempting to create the site. —> System.ArgumentException: Value does not fall within the expected range.

at Microsoft.SharePoint.Library.SPRequestInternalClass.SscCreateSite(Guid gApplicationId, String bstrUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gSiteId, Guid gDatabaseId, String bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, String bstrTitle, String bstrDescription, UInt32 nLCID, String bstrWebTemplate, String bstrOwnerLogin, String bstrOwnerName, String bstrOwnerEmail, String bstrSecondaryContactLogin, String bstrSecondaryContactName, String bstrSecondaryContactEmail, Boolean bADAccountMode)

at Microsoft.SharePoint.Library.SPRequest.SscCreateSite(Guid gApplicationId, String bstrUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gSiteId, Guid gDatabaseId, String bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, String bstrTitle, String bstrDescription, UInt32 nLCID, String bstrWebTemplate, String bstrOwnerLogin, String bstrOwnerName, String bstrOwnerEmail, String bstrSecondaryContactLogin, String bstrSecondaryContactName, String bstrSecondaryContactEmail, Boolean bADAccountMode)

at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase database, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, String sscRootWebUrl, Boolean useHostHeaderAsSiteName)

at Microsoft.SharePoint.SPSite.SelfServiceCreateSite(String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String contactLogin, String contactName, String contactEmail, String quotaTemplate)

at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass2.<CreateSite>b__0()

— End of inner exception stack trace —

at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass2.<CreateSite>b__0()

at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)

at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()

at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)

at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)

at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)

at Microsoft.Office.Server.UserProfiles.UserProfile.CreateSite(String strRequestUrl, Boolean bCollision, Int32 lcid)

By John Stover

John Stover Bio.

Leave a comment

Your email address will not be published. Required fields are marked *