web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Import Error, Import fails completely and immediately

(0) ShareShare
ReportReport
Posted on by

Greetings!

I have an import to a custom entity which I have been doing monthly for about six months. I has always worked when properly formatted and mapped, and I have a document of steps to follow to prepare the upload.

We upgraded to 9.x since the last successful upload.  Currently version 1710 (9.1.0.1119) online.

I'm now getting this error in the Details of the system job. I do not get any other pop up message or warning. The import fails quickly, with the exact same start and end times. It doesn't attempt to parse or translate or any of the usual process steps.

Object reference not set to an instance of an object.

Unhandled exception:
Exception type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
   at Microsoft.Crm.Asynchronous.ImportFileHelperData.PopulateResolutionMappingCollection()
   at Microsoft.Crm.Asynchronous.ImportFileHelperData.PopulateDictionaries()
   at Microsoft.Crm.Asynchronous.ImportFileHelperData.SetHelperData(Entity impfile, IOrganizationService crmService, Boolean isImportFromApp, Int32 importMode, Guid organizationId, Int32 languageCode)
   at Microsoft.Crm.Asynchronous.ImportHelperData.UpdateImportFileHelperDataDictionary(Guid importFileId)
   at Microsoft.Crm.Asynchronous.ImportOperationParse.ExecuteImportOperation(Guid organizationId, Guid importId, Int32 operationType)
   at Microsoft.Crm.Asynchronous.ImportOperation.InternalExecute(AsyncEvent asyncEvent)
-- End stack trace --

Does the above message anything to any one?

I am a system admin and customizer. I've confirmed that I can create these same records in the UI.

I started with a fresh import template, exported from the UI immediately before the file was prepared for import.

The mapping is a little complicated, I have to change the lookups tied to the data columns. But I have always done that with this particular upload.

Any suggestions to resolve this error?

Many thanks,

tricia

*This post is locked for comments

I have the same question (0)
  • gdas Profile Picture
    50,091 Moderator on at

    Hi Tricia,

    Might be this is data issue , however I would suggest to do some data analysis,  try with less data , only one and fill all  template included columns value

    The error is coming from internal code , if it's happening for all the entities raise ticket to MS.

  • Johnny Gong Profile Picture
    6,482 Moderator on at

    Hi Tricia,

    One of my customer met the similar issue that system jobs suddenly doesn't work after the D365 Online upgrade to V9.1.

    I would suggest you to check your Instance status whether it's in administration mode which may disable background operations. 

    Admode.PNG Admode.PNG

    Hope the above suggestion would help.

    Regards

    Johnny

  • Community Member Profile Picture
    on at

    Thank you Goutam Das,

    I am able to import Accounts and Opportunities, with no issues.  I will open a ticket with Microsoft.

  • Community Member Profile Picture
    on at

    Thank you Johnny Gong,

    I had not checked this and your suggestion was a good idea. However, we were not in Administration mode, so it wasn't the fix this time.  Appreciate your insights!  

  • Verified answer
    Community Member Profile Picture
    on at

    Changing my import file to a .csv resolved my issue.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans