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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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