Hope someone could help me with the following issue on Sidekick Migration Tool.
I'll explain exactly the steps I did to set-up and configure Sidekick on two Sitecore instances, both on the same machine:
- Created two Sitecore instances using SIM 1.5, "dev" and "live"
- Changed the target framwork to 4.5.2 to meet Sidekick 1.4.2 dependancies
- Installed nuget package SitecoreSidekickContentMigrator 1.4.2 on both instances
- Edited the config files and generated the secret key: BByk6bUzKls4wybcZenCwTbLIGK9go7wG 5.Logged in in "dev" to sync the content from "live" and opened the Sidekick module
All good so far, but when I'm selecting my server to pull the content from, I'm getting the following error: "Make sure the shared secrets match" I said, ok. Let's try doing the sync using PowerShell. Installed it on "dev" and configured it as required. I'm running the following PS script:
Import-Module -Name SitecoreSidekick -Force -Verbose
$params = @{
LocalUrl = "http://sc820/"
RemoteUrl = "http://sc821/"
SharedSecret = "BByk6bUzKls4wybcZenCwTbLIGK9go7wG"
EventDisabler = $true
BulkUpdate = $true
PullParent = $true
}
Copy-SKContent @params -RootId '{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}' -Children -Overwrite -RemoveLocalNotInRemote
Copy-SKContent @params -RootId '{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}' -Children -Overwrite
Copy-SKContent @params -RootId '{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}' -Children
Copy-SKContent @params -RootId '{0DE95AE4-41AB-4D01-9EB0-67441B7C2450}' -Overwrite
Unfortunatelly I'm getting forbidden:
Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (403) Forbidden.
I've used Fiddler to investigate the requests but nothing useful, just a failed request with no response.
There are some question I would like to ask:
- Can I use Sidekick on the same machine for two or more instances? Or the remote server should be in fact on a different server.
- Would it be possible that the change of solution target framework to cause this issue?
I would be really thankful if someone can advice or help me on the error as I've tried a hunderd of things but nothing helped.
Thank you!