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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.