If no suitable driver is installed on the machine this code throws exception:
|
GetMostRecentCompatibleProviders(dataAccessProviderType).First().Key, |
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