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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
SUTTY
Frequent Visitor

Error connecting a file

Hello all,

I've loaded up my Power BI file after the weekend, and now cannot 'refresh' the data without a couple of errors occuring. After playing about with the model - the issue is caused by connecting a folder containing excel (CSV) files - and error codes also show when trying to connect a new folder. The folder connection worked fine prior to the april update, and the error codes are:

"object reference not set to an instance of an object"

 

"A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread"

 

EDIT: Found the excel file causing the issue, but no clue what the issue really means since it all worked fine previously? Is it a case of checking all the formats for each column? The only issue is the file has 1000+ columns🙃

Anyone got any thoughts on a cause/resolution please?

Many Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @SUTTY ,

 

Check the solution provided by @PeterNL  in this post.

vstephenmsft_0-1650878976646.png

 

 

 

Best Regards,

Stephen Tao

 

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

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @SUTTY ,

 

Check the solution provided by @PeterNL  in this post.

vstephenmsft_0-1650878976646.png

 

 

 

Best Regards,

Stephen Tao

 

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

Thanks @Anonymous but as my file comes in a folder this solution hasn't worked for myself. 

It isn't on sharepoint, and replacing the path doesn't work.

Any other suggestions? I think I may just have to revert to the March Update to solve for the moment.

I am having the same issue. I suspect it's the data size...mine is 13052 Rows and 32 Columns large.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

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