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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Import limit when importing CSV file

(0) ShareShare
ReportReport
Posted on by 25

I am trying to import a large .csv file into Business Central (BC18, on premise) using either an XMLport or an instream.  The size of the file is 50-100 mb, containing 50 columns and up to 1,000,000 lines.

When I import the file into a holding table using an XMLport, I get the following error (note that I increased the Max Upload Size to 2047mb) if done through the web client:pastedimage1633461967549v1.png

Attempting the import using UploadIntoStream gives a similar error:
pastedimage1633462070517v2.png

This upload works much better when done directly from the app server, but the system will be upgraded to the cloud soon and I'm hoping to get this upload working better from the web client. 

I'm considering writing an Azure function to import this file in sections, but I'm wondering if there is something I'm overlooking, since the file size is well below the maximum specified in the error.

Thank you!

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Independent of the solution you use, here are the operational limits:

    docs.microsoft.com/.../operational-limits-online

    Thanks.

  • Dan Palmer Profile Picture
    25 on at

    Hi Marco,

    That's part of my confusion - Microsoft's documentation seems to say that I can upload a file up to 350 mb, but my file fails when it reaches 40-50 mb.

    Thanks,

    Daniel

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Here is a posting my colleague answered.

    community.dynamics.com/.../the-file-could-not-be-uploaded-because-it-was-too-large

    Thanks.

  • Verified answer
    Dan Palmer Profile Picture
    25 on at

    Hi Marco,

    Thanks for the information - I'll try these steps out and let you know if it takes care of the issue.  We're going to migrate them to the cloud so some of these options won't be available at that point, but it will help narrow down the cause if I do get the import working better on-prem.

    Thanks!

    Daniel

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,024 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,145 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 705 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans