We are running a rather large migration with 10,000 Accounts 50,000 Contacts
etc... and 250,000 Activities.
I am using the default migration order.
I go through all the setup steps for the cdf_ DB and kcik off the
Microsoft.Crm.DataMigration.CDFMigrationTool.exe. A handful of Accounts and
Contacts fail due to obvious data errors, but about 40,000 of the activities
fail (see bottom of this message for sample error) with only 60,000
attempted before it errors out with:
7/11/2004 - 2:08:38 AM -- ERROR:Unknown//Exception has been thrown by the
target of an invocation.
The it proceeds to migrate Annotations and 'complete' the migration process.
If I kick off the .exe again (making no changes or corrections) the same
Accounts and Contacts fail, some of the previously failed activiies
succeed - others continue to fail for no obvious reason and after attempting
about 50,000 activities it dies on the same error.
If I kick of the .exe yet again (3rd time here) the Account / Contact errors
are the same, but activities immediately fail with the
ERROR:Unknown//Exception has been thrown by the target of an invocation.
This now is identical any subsequent (4+) attempts.
So I have two problems:
(1) Why do seemingly fine activity records fail the first time and then
succeed the second
(2) What causes the Error Unkown... and what can I do to fix that?
Example of failed (1st Attempt) activity that succeeded on run #2:
7/11/2004 - 1:43:38 AM -- [ERROR] Failed to migrate object:
<description>Activity regarding object Id or type is
missing</description><details>CActivity::ValidateAccessToRegardingObject:
objectid doesn't match
objecttypecode</details><file>d:\crm\build\3297\src\platform\include\om\CRM\
Activity.inl</file><line>2513</line>
7/11/2004 - 1:43:38 AM --
<root><activity><StateCode>0</StateCode><owninguser>{8860F497-613E-4249-8C6D
-EE4F4827683C}</owninguser><activitytypecode>134</activitytypecode><billed>0
</billed><category>Ops/Marketing</category><isworkflowcreated>0</isworkflowc
reated><objecttypecode>1</objecttypecode><statuscode>0</statuscode><subject>
Residential Direct Mailer</subject></activity></root>