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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Error while importing data from excel to NAV 2016

(0) ShareShare
ReportReport
Posted on by

Hi,

I am setting up a new company in NAV 2016 using rapid start but I need to import master data from NAV 2009. I have exported data from NAV 2009 in excel (.xlsx) format. Now when I try to use the option "import from excel" for a table in the configuration package following error occurred. 

" A DotNet variable has not been instantiated. Attempting to call MapInfo in CodeUnit Config. Excel Exchange: ExtractXMLSchema "

forum.PNG

Anyone know about this error please reply. 
Looking forward towards you.

Thanks,

Bilal Haider

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Binesh Profile Picture
    7,887 on at

    Hello Bilal,

    In NAV 2016 configuration package has been changed.

    Here is a new field added something Package Code

    You need to customize NAV 2009 Objects:

    XMLport 

    8610 Setup Data Schema

    Tables:

    8613 Migration Table
    8614 Migration Record
    8615 Migration Data
    8616 Migration Table Field

    Codeunit:

    8611 Migration Management

    Form:

    8614 Migration Overview

  • Community Member Profile Picture
    on at

    thanks @binesh. But kindly tell me further about the customization in objects. It'll be great.

  • Verified answer
    Binesh Profile Picture
    7,887 on at

    Okay  fine

    I'll prepare a article and share with you, but it takes some times.

    Here is a sample, you can go yourself.

    > You have to Add a Field "Package Code" in Tables ID - 8613, 8614, 8615, 8616
    And in Table 8613 you have to add code from screen shot.
    package.png
    > In Form 8614 "Migration Overview" you have to add Package Code field.

    > In CodeUint 8611 "Migration Management" you have to update code in Functions:
    ExportSetupDataToExcel
    CreateRecordNodes

    > In XMLPort 8610 "Setup Data Schema" you have to add packageCode like NAV 2016.

  • Community Member Profile Picture
    on at

    That is so nice of you. Kindly tell me the proper way of exporting for nav 2009 because I think there can be problems in the exported files. And again thanks for your help and support.

  • Verified answer
    Binesh Profile Picture
    7,887 on at

    Hello Bilal,

    Go thru this article DATA MIGRATION IN NAV 2016 FROM NAV 2009

  • Community Member Profile Picture
    on at

    Thanks a lot GURU g. Its really very much helpful for a beginner like me. Thumbs up for you (Y)

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans