Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Solution Import with Error: The import file is too large to upload. Error code 80040375

Posted on by Microsoft Employee

When we import a CDS solution from One CRM Sandbox Instance to another Instance. There's an error warning: The import file is too large to upload. Error code 80040375. I download the exception log file and find the below message:

exceptionDetailsMicrosoft.Crm.Tools.ImportExportPublish.ImportEntityKeyUpdateException: Update is not supported for EntityKey at Microsoft.Crm.Tools.ImportExportPublish.ImportEntityKeyHandler.ImportItem() at Microsoft.Crm.Tools.ImportExportPublish.ImportHandler.ImportInternal() at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties) at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.ImportAndUpdateProgress(ImportHandler ih) at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.ProcessHandlers(String[] ImportEntities, Hashtable ht, String& curPath, ImportHandler& ihForCurrentPath, CounterList listCounters) at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport(String[] ImportEntities) at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(String[] ImportEntities) at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport() at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImportInternal(Boolean withSolutionManifest) at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)


Our Development engineer tried that if they delete all mentioned entities's primary key , then the solution could be successfully imported. While we must modify these primary keys. We have raised a ticket for it. Is there anyone met such issue? 

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Solution Import with Error: The import file is too large to upload. Error code 80040375

    Thanks Johnny. The solution could be normally imported after the ID update in the first imported solution.

  • Verified answer
    Johnny Gong Profile Picture
    Johnny Gong 6,482 on at
    RE: Solution Import with Error: The import file is too large to upload. Error code 80040375

    Hi Zoey,

    From your sharing exception, there's related message that 'Update is not supported for EntityKey'. I wonder if you have imported such solution with EntityKey before.

    If it is, the new import EntityKey ID should conflict with the original EntityKey ID. It's not supported if you update same entityKey with another solution.

    I would suggest you to update the EntityKey ID within Original Solution directly. Then you may successfully import the solution.

    Hope the above suggestions would help.

    Regards

    Johnny

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans