我有一个故障的mysite位于我删除的世代odicetagcode。我成功地创建了一个新的Web应用程序,MySitehost网站集成功,在用户配置文件服务应用程序中设置了MySite,运行了三个MySite计时器作业,以及增量同步定时器作业。 使用我的管理帐户,我设法创建一个MySite并查看我的属性。更新广告中的属性,运行增量同步定时器作业,并查看MySite的更改。

我已将SharePoint用户属性“图片”设置为AD属性“thumbnailphoto”(仅导入)并将图像上传到广告(使用广告编辑)。运行增量计时器作业(再次)在UPSA中没有导致Mysite。我尝试使用用户sp_farm运行以下powershell命令:

Update-SPProfilePhotoStore -MySiteHostLocation http://portal:8080/
.

给出以下(奇数)异常指向旧的mysitehost:

Update-SPProfilePhotoStore : The Web application at http://mysite:8080/ could not be found. Verify that you have typed
the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new reques
t URL mapping to the intended application.
At line:1 char:1
+ Update-SPProfilePhotoStore -MySiteHostLocation http://portal:8080/
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Offic...ofilePhotoStore:SPCmdletUserProfilePhotoStore) [Update-S
   PProfilePhotoStore], FileNotFoundException
    + FullyQualifiedErrorId : Microsoft.Office.Server.UserProfiles.PowerShell.SPCmdletUserProfilePhotoStore
.

为什么会发生这种情况,我如何重新抛离这个?

有帮助吗?

解决方案

I would try Updating the User Profile via Powershell.

$ap = Get-SPServiceApplication –Name "User Profile Service Application"
Set-SPProfileServiceApplication –Identity $ap –MySiteHostLocation "http://portal:8080"

Also, have you tried restarting IIS/UPS?

许可以下: CC-BY-SA归因
scroll top