Задайте вопросЗадайте вопрос
 

ОтвеченоError creating MySite: There has been an error creating the personal site

  • 6 февраля 2007 г. 21:45Ton Stegeman [MVP] Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     

    Hi,

    When creating a MySite users get this error message:

    There has been an error creating the personal site. Contact your site administrator for more information.

    Here is our setup:

    • 1 web application for central administration
    • 1 web application for ssp administration site
    • 1 web application at port 80 (collaboration portal)
      • this web app uses (and requires) SSL
      • managed path: "mysite" (explicit inclusion)
      • managed path: "personal"(wildcard inclusion)
      • site collection based on the MySite Host on the "mysite" managed path
    • SSP: personal site provider: https://[portalurl]:443/mysite/
    • SSP: personal site location: "personal"

    Initially we hosted the the MySites in a separate web application, but we migrated them to this new setup. The users who had a mysite before the migration have no issue, they can get to their mysite just fine.

    If I look in the SharePoint logs I find this error message: "Value does not fall within the expected range"

    Any ideas what we are doing wrong?

    Here's an extract of the logfile:

    CreatePersonalSite: Testing for personal site at: https://[portalurl]/personal/demo. e3066f3f-0715-472d-b67e-e59fee093a90
    Attempting to create personal site at 'https://[portalurl]/personal/demo'. e3066f3f-0715-472d-b67e-e59fee093a90
    Creating site https://[portalurl]/personal/demo in content database [contentdatabasename] 
    Creating top level site at https://[portalurl]/personal/demo 
    Unknown SPRequest error occurred. More information: 0x80070057 
    The site /personal/demo could not be created.  The following exception occured: Value does not fall within the expected range.. 
    Failed to create personal site ([domain]\demo, https://[portalurl]/personal/demo): 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 gApplicat... e3066f3f-0715-472d-b67e-e59fee093a90
    ...ionId, 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... e3066f3f-0715-472d-b67e-e59fee093a90
    ..., 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(). e3066f3f-0715-472d-b67e-e59fee093a90
    My Site creation failure for user '[domain]\demo' for site url 'https://[portalurl]/personal/demo'. 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 bstrSecondaryContactLo... e3066f3f-0715-472d-b67e-e59fee093a90
    ...gin, String bstrSecondaryContactName, String bstrSecondaryContactEmail, Boolean bADAccountMode)     at Microsoft.SharePoint.Library.SPRequest.SscCreateSite(Guid gApplicationId, String bstrUrl, String bstrServerRelativeUrl,  e3066f3f-0715-472d-b67e-e59fee093a90
    Exception while creating personal site for '[domain]\demo': 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 bstrSecondaryContac... e3066f3f-0715-472d-b67e-e59fee093a90
    ...tEmail, 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, ... e3066f3f-0715-472d-b67e-e59fee093a90
    ...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.Shar... e3066f3f-0715-472d-b67e-e59fee093a90
    ...ePoint.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)     at Microsoft.Office.Server.UserProfiles.UserProfile.CreatePersonalSite(Int32 lcid). e3066f3f-0715-472d-b67e-e59fee093a90
    An SPRequest object was not disposed before the end of this thread.  To avoid wasting system resources, dispose of this object or its parent (such as an SPSite or SPWeb) as soon as you are done using it.  This object will now be disposed.  Allocation Id: {0A19DC65-7DF4-462B-9C4B-955C92521D53}  To determine where this object was allocated, create a registry key at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\HeapSettings.  Then create a new DWORD named SPRequestStackTrace with the value 1 under this key. 
    BackgroundTaskManager.ExecuteBackgroundTasks: Starting task SessionManager.PerformSessionTimeouts 

     

    • ПеремещеноMike Walsh MVPMVP, Модератор14 октября 2008 г. 16:29MySite (Moved from SharePoint - Setup, Upgrade, Administration and Operation to SharePoint - Social Computing)
    •  

Ответы

  • 9 февраля 2007 г. 12:05Vincent Verweij Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     Отвечено

    Hi Ton,

     

    In the setup you supplied add the account configured as the Applicaiton Pool Identity for the web site at port 80 (collaboration portal) to the "Farm Administrators" group through the Central Administration pages.

    After that perform an IISReset.

    This should fix the problem.

    I am still performing some research on this matter to determine the impact of adding the AppPool identity to your Farm Administrators group.

     

     

    During my research so far I also found another solution below:

    Another way to get arround this issue is to add the AppPool identity to the "Local Administrators" group on every web front-end server hosting the web site under which the My Sites are created but this has impact on the machine security.

    While making a My Site some process in the back needs certain local permissions on the web front-end machines which are provided either by adding the AppPool identity to the "Local Administrators" group or by adding it to the "Farm Administrators" group through Central Administration pages.

     

Все ответы