Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
KimDongmin
Frequent Visitor

Python script ADO.net error: The file is too long.

I am visualizing using python script with power bi desktop. However, I downloaded a new desktop version to update the Power bi desktop, After that, refreshing the Python script will cause an error.

 

message :

ADO.NET: A problem occurred while processing your Python script.
Here are the technical details:
The file is too long.
This operation is currently limited to supporting files less than 2 gigabytes in size.

 

The code worked fine until I downloaded a new desktop, but now i get the above error

Do you know how to fix it? 

2 REPLIES 2
amitchandak
Super User
Super User

@KimDongmin , just check have you installed 32-bit python on new machine

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I have installed the 64 bit version of Python, I am facing the exact same issue. My file size is 3.7gb and I am using Python script to read the data from a s3 bucket.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.