bcolpaert / Colso.Xrm.DataTransporter

XrmToolbox plugin to help you to transfer records across organizations
MIT License
21 stars 15 forks source link

Target URL changed to source URL when target is selected - ConnectionsList.Default.xml updated - tool unusable #50

Closed klemensms closed 3 years ago

klemensms commented 3 years ago

I am trying to transfer reference data from Source to target. I created a new test record in source. I tried to use data transporter to transfer it to target. Only "create" checkbox ticked: when selecting the preview feature, it does not show up, transferring the data nothing get created. Checking the "update" box as well: when selecting the preview feature, the new record shows up as "to be updated", when transferring data, nothing happen in target.

I have deleted the XRMToolBox and set everything up from scratch - no lock, it is also worth mentioning that this used to work "a few months ago" (I am not sure when it stopped working, as it was only discovered when testers complained about missing refdata)

2021_06_18_06_48_12_0147
klemensms commented 3 years ago

I have identified the underlying issue:

after selecting the target for the data transporter, the "URL" for the target environment get changed to that of the source environment, hence the "create" is not showing anything, only the update.

This happens even when I create a new connection after I have already connected to the source environment.

image

klemensms commented 3 years ago

To clarify further: the file containing the different connections "ConnectionsList.Default.xml" get updated as soon as the target is selected. Locking the file to prevent DataTransporter to change the target URL crashes XRMToolBox.

klemensms commented 3 years ago

The underlying issue is likely not with this tool, but rather with the XRMToolBox connection "wizard".

As a workaround, use this to connect to environment: image