Ресурсы для ИТ-профессионалов > Форумы > SharePoint - Social Computing (pre-SharePoint 2010) > My Site creation fails when running through AAM, works when using the standard url.
Задайте вопросЗадайте вопрос
 

ОтвеченоMy Site creation fails when running through AAM, works when using the standard url.

  • 11 июня 2009 г. 12:32Pants79 Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     
    Hello,

    This has me stumped so i am turning to you for some help.

    I have the following setup:

    DB Server.
    App/Index Server.
    FE Server.

    When users try to create a MySite from https://my.company.com it fails but when they try http://my it works. The error is:Failure to create site: Value does not fall within expected range.

    What i have done:

    Create webapplication 1 http://my.company.local -> http://my
    Extend the webapplication to also host http://my.company.com running on SSL.

    With AAM i set the http://my to the default zone and https://my.company.com to internet zone.

    All other web applications work as expected.

    Error log:
    My Site creation failure for user 'DOMAIN\USERNAME' for site url 'https://my.company.com/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 bstrOwnerUserKey, String bstrOwnerName, String bstrOw... 
    06/11/2009 11:39:14.52* w3wp.exe (0x0BFC)                        0x0634 SharePoint Portal Server       User Profiles                  7fyq Critical ...nerEmail, String bstrSecondaryContactLogin, String bstrSecondaryContactUserKey, String bstrSecondaryContactName, String bstrSecondaryContactEmail, Boolean bADAccountMode)     at Microsoft.SharePoint.Library.SPRequest.SscCre 
    06/11/2009 11:39:14.52  w3wp.exe (0x0BFC)                        0x0634 SharePoint Portal Server       User Profiles                  62pb High     Exception while creating personal site for 'COMPANY\USERNAME': 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 bstrOwnerUserKey, String bstrOwnerName, String bstrOwnerEmail, String bstrSecondaryContactLogin, String bstrSecondaryConta... 
    06/11/2009 11:39:14.52* w3wp.exe (0x0BFC)                        0x0634 SharePoint Portal Server       User Profiles                  62pb High     ...ctUserKey, 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 bstrOwnerUserKey, String bstrOwnerName, String bstrOwnerEmail, String bstrSecondaryContactLogin, String bstrSecondaryContactUserKey, String bstrSecondaryContactName, String bstrSecondaryContactEmail, Boolean bADAccountMode)     at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase ... 
    06/11/2009 11:39:14.52* w3wp.exe (0x0BFC)                        0x0634 SharePoint Portal Server       User Profiles                  62pb High     ...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__D... 
    06/11/2009 11:39:14.52* w3wp.exe (0x0BFC)                        0x0634 SharePoint Portal Server       User Profiles                  62pb High     ...isplayClass2.<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)     at Microsoft.Office.Server.UserProfiles.UserProfile.CreatePersonalSite(Int32 lcid). 
    06/11/2009 11:39:14.54  w3wp.exe (0x0BFC)                        0x0634 Windows SharePoint Services    General                        8l1n High     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: {ACD8DA71-E0BA-44A6-A99F-BDECB11D9FFD}  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. 

    Kind regards,

    Kor

    • ИзмененоPants79 11 июня 2009 г. 12:40
    •  

Ответы

Все ответы