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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
aishak12
Helper IV
Helper IV

PowerQuery Error: OLE DB or ODBC - Not sure what this means

Hi All, 

 

Does anyone know what is the cause of this error:

 

Error Message:

Operation is not valid due to the current state of the object.

 

OLE DB or ODBC error: Operation is not valid due to the current state of the object..

 

Error1.2.PNGError1.PNG

 

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hi  @aishak12  ,

 

I'd like to suggest you check if the data source's status is ok. The error message usually means the file is corrupted. You may try to start from scratch after you have checked the data source. 


For related documents, you can check the following link:

https://community.powerbi.com/t5/Desktop/Operation-is-not-valid-due-to-the-current-state-of-the-obje...

https://community.powerbi.com/t5/Desktop/Cannot-import-a-folder-with-several-Excel-files-from-networ...
https://community.powerbi.com/t5/Power-Query/Function-crashes-Operation-is-not-valid-due-to-the-curr...

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

what type of data source are you connecting to? Did it ever work? when did it stop working?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.