Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

SQL Server to Dynamics migration

Posted on by
Hi,
 
I'm using copy activity to migrate records from SQL server to Dynamics CRM but after inserting few thousands records it gives me below error, although we MS has removed API limits for our environment for purpose of data migration. Specifying different batch size and degree of parallelism also doesn't seem to help.

ErrorCode=DynamicsOperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Dynamics operation failed with error code: -2147220891, error message: Object reference not set to an instance of an object..,Source=Microsoft.DataTransfer.ClientLibrary.DynamicsPlugin,''Type=System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]],Message=The creator of this fault did not specify a Reason.,Source=Microsoft.DataTransfer.ClientLibrary.DynamicsPlugin,'
 
 
  • SQL Server to Dynamics migration
    Hi,
    we were struggling with similar problems.
     
    Here is a list of error codes:
     
    This exact error code means :
    0x80040265
    -2147220891
    Name: IsvAborted
    Message: ISV code aborted the operation.
     
    So I would say there is a custom plugin that throws an error because an EntityReference object is NULL or something similar, plugin debug/tracing may help in this case.
     
    Best regards,
    Barna

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans