EntityFrameworkCore.Jet icon indicating copy to clipboard operation
EntityFrameworkCore.Jet copied to clipboard

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

Open 0xced opened this issue 2 years ago • 2 comments

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

0xced avatar Jun 27 '23 08:06 0xced

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

ChrisJollyAU avatar Jun 28 '23 09:06 ChrisJollyAU

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

image

0xced avatar Jun 28 '23 11:06 0xced