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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.