none
Error creating MySite: There has been an error creating the personal site

    Question

  • I followed all the advice in various posts (adding app pool identity to site admin group, etc), and i'm still getting this issue.

    • i have the managed paths configured
    • personal is set to /my/personal/ and not with the FQDN as per all the advice here

    The actual message i get is the generic one once i click the 'Content' link. My site and my profile links work fine.


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

    Here is the error in the logfile - the usually informed 'object reference not set'.

    59  w3wp.exe (0x0C48)                        0x1704 SharePoint Portal Server       User Profiles                  ogso Medium   CreatePersonalSite: Testing for personal site at: http://<domain>/my/personal/nborges. 819c278b-747f-492e-a92a-ecb547a63310
    01/05/2011 11:56:14.

    64  w3wp.exe (0x0C48)                        0x1704 SharePoint Portal Server       User Profiles                  ogup Medium   Attempting to create personal site at 'http://vdc01sp01.idc.logitech.com/my/personal/nborges'. 819c278b-747f-492e-a92a-ecb547a63310
    01/05/2011 11:56:14.

    66  w3wp.exe (0x0C48)                        0x1704 SharePoint Portal Server       User Profiles                  ogvf High     Failed to create personal site (IDC\nborges, http://<domain>/my/personal/nborges): System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass5.<CreateSite>b__3(). 819c278b-747f-492e-a92a-ecb547a63310
    01/05/2011 11:56:14.

    66  w3wp.exe (0x0C48)                        0x1704 SharePoint Portal Server       Administration                 5187 Critical My Site creation failure for user 'IDC\nborges' for site url 'http://vdc01sp01.idc.logitech.com/my/personal/nborges'. The exception was: Microsoft.Office.Server.UserProfiles.PersonalSiteCreateException: A failure was encountered while attempting to create the site. ---> System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass5.<CreateSite>b__3()     --- End of inner exception stack trace ---     at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass5.<CreateSite>b__3()     at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()     at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     at Microsoft.Sha... 819c278b-747f-492e-a92a-ecb547a63310
    01/05/2011 11:56:14.

    66* w3wp.exe (0x0C48)                        0x1704 SharePoint Portal Server       Administration                 5187 Critical ...rePoint.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). 819c278b-747f-492e-a92a-ecb547a63310
    01/05/2011 11:56:14.

    66  w3wp.exe (0x0C48)                        0x1704 SharePoint Portal Server       User Profiles                  ogsj High     Exception while creating personal site for 'IDC\nborges': Microsoft.Office.Server.UserProfiles.PersonalSiteCreateException: A failure was encountered while attempting to create the site. ---> System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass5.<CreateSite>b__3()     --- End of inner exception stack trace ---     at Microsoft.Office.Server.UserProfiles.UserProfile.<>c__DisplayClass5.<CreateSite>b__3()     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 pa... 819c278b-747f-492e-a92a-ecb547a63310
    01/05/2011 11:56:14.

    66* w3wp.exe (0x0C48)                        0x1704 SharePoint Portal Server       User Profiles                  ogsj High     ...ram)     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). 819c278b-747f-492e-a92a-ecb547a63310
    01/05/2011 11:56:14.70  w3wp.exe (0x0C48)  

    Wednesday, January 05, 2011 6:11 PM

Answers

  • Well, as it happens, i solved my own problem here. After reading all the posts on this error, i noticed that i didn't have a root site collection, and once i created it, voila, everything works like a charm.

    Should i have expected the root (/) site collection to have been created as part of the initial setup and migration from 2k8?

    thanks anyway

    nuno

    • Marked as answer by rabbidfly Wednesday, January 05, 2011 8:55 PM
    Wednesday, January 05, 2011 8:55 PM