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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
lmanchester
New Member

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 @lmanchester ,

 

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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