cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
lmanchester Occasional Visitor
Occasional Visitor

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
Community Support Team
Community Support Team

Re: Import from Access - Attempted to read or write protected memory

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 other members find it more quickly.