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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Tokimatu
New Member

error for log folder path

When I import the data from folder on file server that has deep folder nest, it returns OLE DB or ODBC error: [DataFormat.Error]. These are many over 200 length path. Anyway I want to analyze file server. How can I read all files, its path, size and others from our file server?

 

1 ACCEPTED SOLUTION

Data reading was inturrupted when I got the error importing the data from folder.

 

I use powershell script as below without intrrupting by error.

 

get-childitem \\fileserver\path -recurse | where-object{! $_.psiscontainer}| select-object
CreationTime,LastAccessTime,LastWriteTime,length, extension,name,directory | export-csv c:\outputfolder\data.csv -encoding UTF8

 

 

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @Tokimatu

Do you get data from Folder in Power BI Desktop?

It seems your path length is larger than the maximum which it can run with.

 

Best Regards

Maggie

 

Yes. I got the data from Folder in Power BI Desktop.

 

Is there other procedure to get the long path?

Data reading was inturrupted when I got the error importing the data from folder.

 

I use powershell script as below without intrrupting by error.

 

get-childitem \\fileserver\path -recurse | where-object{! $_.psiscontainer}| select-object
CreationTime,LastAccessTime,LastWriteTime,length, extension,name,directory | export-csv c:\outputfolder\data.csv -encoding UTF8

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors