问题 SIDException when trying to create MySite

  • 2010년 5월 6일 목요일 오후 3:35
     
     

    Hello all, I've got an interesting error that I can't seem to find anything on the web. 

    When trying to create a MySite on our farm, I get the following lines in the Log file: 

    "Unhandled exception caught during execution of Microsoft.SharePoint.Portal.PageBase:ErrorHandler(). Exception information: Microsoft.Office.Server.UserProfiles.UserSidException: The SID structure could not be converted to string SID. The win32 API call failed. ---> System.ArgumentNullException: value cannot be null. Parameter name: binaryForm at System.Security.Principal.SecurityIdentifier.CreateFromBinaryForm(Byte[] binaryForm, Int32 offset) at Microsoft.Office.Server.UserProfiles.Helpers.ConvertSidToString(Byet[] bSID, Boolean iswindowsAccount) --- End of inner exception stack trace --- at Microsoft.Office.Server.UserProfiles.Helpers.ConvertSidToString(Byte[] bSID, Boolean iswindowsAccount) at Microsoft.Office.Server.UserProfile... ...Load(SqlDataReader myReader, Boolean bFirstRead, Boolean bwssId) at Microsoft.Office.Server.UserProfiles.UserProfile.Load(SqlDataReader myReader)"

     

    I cannot find a thing anywhere about this. Anyone seen this or better yet, have a fix?

     

    Thanks,

    Jason

모든 응답

  • 2010년 5월 11일 화요일 오전 6:05
     
     

    The SID should be the SID AD user property, could you please let me know more information? 

    How many users were affected on this issue?

    Is these users migrated from other domian?

    Have you tried to run a Full import of the user profile and what is the result?

     


    Sincerely,
    Lambert Qin
    Posting is provided "AS IS" with no warranties, and confers no rights.
  • 2010년 5월 14일 금요일 오후 7:25
     
     

    Hello Lambert, 

     

     All users are affected with this issue, existing my sites can't be accessed and new my sites cannot be created.

     No migrated users. 

     I have imported them just fine according to the log files. 

     

    Thanks,

    Jason

  • 2010년 7월 13일 화요일 오전 4:46
     
     

    I've got the same issue when I trying to get User Profile from UserProfileManager

    The issue does not affect all of the users in my case, but it do impact some.

    Microsoft.Office.Server.UserProfiles.UserSidException: The SID structure could not be converted to string SID.  The Win32 API call failed. ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: binaryForm
       at System.Security.Principal.SecurityIdentifier.CreateFromBinaryForm(Byte[] binaryForm, Int32 offset)
       at Microsoft.Office.Server.UserProfiles.Helpers.ConvertSidToString(Byte[] bSID, Boolean isWindowsAccount)
       --- End of inner exception stack trace ---
       at Microsoft.Office.Server.UserProfiles.Helpers.ConvertSidToString(Byte[] bSID, Boolean isWindowsAccount)
       at Microsoft.Office.Server.UserProfiles.UserProfile.Load(SqlDataReader myReader, Boolean bFirstRead, Boolean bWssId)
       at Microsoft.Office.Server.UserProfiles.UserProfile.Load(SqlDataReader myReader)
       at Microsoft.Office.Server.UserProfiles.UserProfile.RetrieveUser(String strAcct, Guid gAcct, Byte[] bSid, Nullable`1 recordId, Boolean doNotResolveToMasterAccount)
       at Microsoft.Office.Server.UserProfiles.UserProfile.RetrieveUser(String strAcct, Guid gAcct, Byte[] bSid, Nullable`1 recordId)
       at Microsoft.Office.Server.UserProfiles.UserProfile..ctor(UserProfileManager objManager, Guid guid)

    Any hints will be apreciated.

    Thank you!

    Jing

  • 2011년 11월 4일 금요일 오후 7:26
     
     

    Has anyone ever solved this problem?  I am having a similar problem here:

    http://social.msdn.microsoft.com/Forums/en/sharepoint2010setup/thread/a5f8de09-1031-4cba-acf9-b16db29344bc


    Edit:You cannot vote on your own post  Turns out my issue was caused by the site collection limit in the content database and had nothing to do with the Null Sid event log message.
    • 편집됨 davestech 2011년 11월 5일 토요일 오전 1:45
    •