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
mcompany
New Member

PDF ingesting not working in dataflows

Hi all,

 

I got the following error when ingesting PDFs:

 

Error: PipelineException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt

 

It goes well when editing in power query, but it throws the error when updating.

 

Thanks

3 REPLIES 3
PVO3
Impactful Individual
Impactful Individual

@Anonymous 

I have the same problem, but to be more specific:

- I have a dataflow and a PBI dataset with the exact same query (that gathers data from PDF's from a Sharepoint folder).

- The PBI dataset is refreshing/working like expected

- The dataflow returns the error: "Error: PipelineException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt"
- Both the Dataset as the Dataflow are in the same Premium workspace which I am the owner of.

- The dataflow uses the advanced engine for calculations

- The preview of the dataflow returns the desired result

- Editted addition #1: I have similar dataflows running that extract data from txt and xlms files, these run without issues.

- Editted addition #2: the error occurs exactly at the moment that I use the Pdf.Tables function, or alternativly the "Invoke custom function". Without these steps, it runs fine.

 

I checked your suggestions, but this doesn't seem to be the problem.

Please help

mcompany
New Member

Hi @Anonymous,

 

Thank you for your answer.  I am ingesting the PDFs from the same source (Sharepoint) as other files which are part of other dataflows and upload right. Also, I tried with other PDFs and I am getting the same error.

 

I have been reading another thread , where another user seems to have the same problem.

 

Best regards

Anonymous
Not applicable

Hi @mcompany ,

This error usually indicates that there is a problem with the memory allocation or access of your system or application. There are a few possible causes and solutions for this error, such as:

  • Checking your antivirus or firewall settings. Some antivirus or firewall programs may block or interfere with the Power BI processes, causing the error.
  • Checking your ODBC drivers or data sources. If you are using ODBC connections to ingest PDFs, you may need to update or reinstall your ODBC drivers, or check the settings of your data sources.

System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indi...

Solved: Unexpected error: Attempted to read or write prote... - Microsoft Fabric Community

 

Best Regards
Community Support Team _ Rongtie

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.

June 2025 community update carousel

Fabric Community Update - June 2025

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