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

If no driver is installed - Exception uncatched

Open shwedberlin opened this issue 1 year ago • 0 comments

If no suitable driver is installed on the machine this code throws exception:

https://github.com/CirrusRedOrg/EntityFrameworkCore.Jet/blob/4dda3e41d5e2e55beb87b2efb20a576c7dcd7c9a/src/EFCore.Jet.Data/JetConnection.cs#L586

The message in log in this case does not say the problem: An error occurred using the connection to database '""' on server '"File.accdb"'. System.InvalidOperationException: Sequence contains no elements

shwedberlin avatar Apr 17 '24 09:04 shwedberlin