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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors