Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If no driver is installed - Exception uncatched #239

Open
shwedberlin opened this issue Apr 17, 2024 · 0 comments
Open

If no driver is installed - Exception uncatched #239

shwedberlin opened this issue Apr 17, 2024 · 0 comments

Comments

@shwedberlin
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant