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
Anonymous
Not applicable

Import from Access - Attempted to read or write protected memory

I imported Data from an Access Query and started creating my visualisations etc without issue. Upon trying to refresh the data some time later I was hit with the below error which I see has cropped up on the boards in the past:

 

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

 

This report was proving to be really useful so any help that may fix this issue would be massively appreciated!

 

Top lines of details are below, I can paste more if needed:

 

Microsoft.Mashup.Evaluator.Interface.ErrorException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at System.Data.Common.UnsafeNativeMethods.IDBSchemaRowset.GetRowset(IntPtr pUnkOuter, Guid& rguidSchema, Int32 cRestrictions, Object[] rgRestrictions, Guid& riid, Int32 cPropertySets, IntPtr rgPropertySets, IRowset& ppRowset)
   at System.Data.OleDb.OleDbConnectionInternal.GetSchemaRowset(Guid schema, Object[] restrictions)
   at System.Data.OleDb.OleDbConnection.GetOleDbSchemaTable(Guid schema, Object[] restrictions)
   at System.Data.OleDb.OleDbMetaDataFactory.PrepareCollection(String collectionName, String[] restrictions, DbConnection connection)
   at System.Data.ProviderBase.DbMetaDataFactory.GetSchema(DbConnection connection, String collectionName, String[] restrictions)
   at System.Data.OleDb.OleDbConnection.GetSchema(String collectionName, String[] restrictionValues)
   at Microsoft.Mashup.Engine1.Library.Common.WrappedDbConnection.GetSchema(String collectionName, String[] restrictionValues)
   at Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.<>c__DisplayClass259_0.<GetSchemaTable>b__1()
   at Microsoft.Mashup.Engine1.Library.Access.AccessEnvironment.ConvertDbExceptions[T](IResource resource, Func`1 action)
   at Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.GetSchemaTable(Func`2 loader, Boolean openConnection, String collectionName, String[] restrictions)
   at Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.GetTables()
   at Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.<GetTableTypes>d__146.MoveNext()
   at Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.LoadTypeCatalog()

1 REPLY 1
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

What bit version of Aug 2018 Power BI Desktop do you use, 64 bit or 32 bit? And what is your version of Power Bi desktop? If the issue still occur, kindly create a support ticket for help if you are a pro user.

 

https://powerbi.microsoft.com/en-us/support/

 

Support Ticket.gif

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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