Wednesday, May 29, 2013

Cannot access Source web service error when running the start-spprofileservicefullreplication cmdlet via UPRE


It’s been frustrating from last two days to see the “Start-SPProfileServiceFullReplication: cannot access Source web service” error while executing the PowerShell cmdlet to replicate the profile properties from MOSS 2007 to SharePoint 2010. I hardly find any blog(s) which shed some light on “Cannot access source web service” error indeed I did find some blogs which explain about the destination web service error. So I feel posting an article on this topic would really be a need and could help someone who landed in a same situation.



Microsoft did explain about when and how this command can be useful here but haven’t found much documentation about prerequisites in regards to avoid getting the stated error. As one can find some of the prerequisites here but would need an additional steps to be followed/verified in order to execute the command without getting any error.

These are the steps which have been followed in my environment to get the successful replication.
1.    Make sure the source MOSS 2007 environment is up and running.
2.    Ensure to add the Full Read permissions on source web application to the account which is running the User Profile Replication Engine.
3.    The account that is used to run the User Profile Replication Engine must be a User profile service application administrator and should be granted Full control access to Shared Service Provider (SSP).
4.    Navigate to this location C:\Windows\System32\WindowsPowerShell\v1.0 and run the powershell.exe with Administrator account.
5.    Add the snap-in as single line as seen in the screen shot “Add-PSSnapin Microsoft.Office.Server.AdministrationToolkit.ReplicationEngine”

It took about 4 hour to replicate 3K properties which I think a little extra time taken, but see you get to it in less timeJ

Thanks for reading through it and keep me posted if you have any issues with it.

No comments:

Post a Comment