none
Wrong pictureURL when we have moved mysitehost to different web application on Sharepoint2013

    Question

  • We use Sharepoint 2013. Created web application to split sharepoint sites and mysites host as Sharepoint Best Practices Analyzer recommends it.

    Now if we ran: Update-SPProfilePhotoStore

    and then type the new Mysitehost address we recieve an error with and old address:
    Update-SPProfilePhotoStore : Error processing the photo URL http://OLDADDRESS:80/sites/mysites., that causes that pictures of users are not shown on mysites.

    Any idea how to fix this?


    bostjanc

    Monday, August 19, 2013 11:21 AM

Answers

  • The only way I could solve it was with deleting all the user profiles (luckily this was a test environment) and pushing the full sync again.

    bostjanc

    Tuesday, August 20, 2013 12:46 PM

All replies

  • Hi Bostjan,

    How did you use the cmdlet Update-SPProfilePhotoStore? Could you provide more error information?

    Please try the cmdlet with the parameters as follow, and let us know your result:

    Update-SPProfilePhotoStore -MySiteHostLocation http://YourNewWebApp:PortNumber/sites/YourMySiteHostSite -CreateThumbnailsForImportedPhotos 1

    http://technet.microsoft.com/en-us/library/ff607547.aspx

    Thanks


    Daniel Yang
    TechNet Community Support

    Tuesday, August 20, 2013 8:51 AM
    Moderator
  • Daniel thank you for reply.

    If I run command you are suggesting, nothing really happens, I mean no errors are visible.

    But after that If I run step-by-step command:

    Update-SPProfilePhotoStore

    And then type the new address: http://sharepointsite:port, I recieve errors which are still pointing to the old web application url/my site host.

    here's a printscreen


    bostjanc

    Tuesday, August 20, 2013 9:15 AM
  • The only way I could solve it was with deleting all the user profiles (luckily this was a test environment) and pushing the full sync again.

    bostjanc

    Tuesday, August 20, 2013 12:46 PM