Skip to content

If no driver is installed - Exception uncatched #239

@shwedberlin

Description

@shwedberlin

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions