Error running update-spprofilephotostore
Hello,
I am getting the following error on every user's picture when i try to run the profile photo store update while migrating from 2007 to 2010 using the new farm and attach db method of upgrading.
Any ideas of how to go about troubleshooting? It appears that it is going back to our 2007 environment to grab the mysite photo and trying to move it across into the 2010 farm into the new my site host. Is there some sort of port or permission that
needs to be granted between the two farms for this to work or other step im missing?
Update-SPProfilePhotoStore : Error processing the photo URL http://<mysiteurl>
/personal/jon%20j%20chard/Shared%20Pictures/Profile%20Pictures/DSC00063
.JPG for user <domain>\Jon Doe: System.Net.WebException: The underlying co
nnection was closed: An unexpected error occurred on a receive. ---> System.IO.
IOException: Unable to read data from the transport connection: An existing con
nection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketE
xception: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32
size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32
size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrie
vedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& reques
t)
at System.Net.WebClient.DownloadData(Uri address)
at Microsoft.Office.Server.UserProfiles.PowerShell.SPCmdletUserProfilePhotoS
tore.InternalProcessRecord()
At line:1 char:27
+ update-spprofilephotostore <<<< -mysitehostlocation http://<mysitehost>
+ CategoryInfo : WriteError: (:) [Update-SPProfilePhotoStore], SP
Exception
+ FullyQualifiedErrorId : Microsoft.Office.Server.UserProfiles.PowerShell.
SPCmdletUserProfilePhotoStore
October 25th, 2010 8:53pm