CirrusRedOrg / EntityFrameworkCore.Jet

Entity Framework Core provider for Access database
MIT License
138 stars 38 forks source link

System.Runtime.InteropServices.COMException: Catastrophic failure when running tests #136

Open 0xced opened 1 year ago

0xced commented 1 year ago

Just wanted to let everyone know that if you are getting this COM exception while running the tests, installing the Microsoft Access Database Engine 2016 Redistributable will solve this hard to diagnose issue.

System.Runtime.InteropServices.COMException
Catastrophic failure
  Exception doesn't have a stacktrace
ChrisJollyAU commented 1 year ago

Did you have any other runtime version installed? I'm just guessing that the reason it failed is that there was no Access Databse Engine runtime that it could find when trying to create certain resources.

This is what I have on my PC (and yes the 2016 is from the Click-To-Run Office 365)

image
0xced commented 1 year ago

Indeed, I had Microsoft Access database engine 2010 installed but the 2016 version was required to overcome this error.

image