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

SqLite Data Provider - Misleading Error message #199

Open
vinod-vetrivel opened this issue Jul 23, 2020 · 1 comment
Open

SqLite Data Provider - Misleading Error message #199

vinod-vetrivel opened this issue Jul 23, 2020 · 1 comment

Comments

@vinod-vetrivel
Copy link

The below error occurs when the calling project doesn't have a reference to System.Data.Sqlite. This message instructs to use Microsoft's provider for .NET core projects. But it is misleading, as the Sqlite provider seems to have changed from Microsoft.Data.Sqlite to System.Data.Sqlite in Westwind.Utilities. The message may be changed to "Unable to load SqLite Data Provider. Make sure you have a reference to System.Data.SQLite"

throw new InvalidOperationException("Unable to load SqLite Data Provider. Make sure you have a reference to Microsoft.Data.Sqlite (.NET Core) or System.Data.SQLite (.NET 4.5).");

@vinod-vetrivel vinod-vetrivel changed the title SqLite Data Provide - Misleading Error message SqLite Data Provider - Misleading Error message Jul 23, 2020
@idimitrovski
Copy link

Thanks mate, this pushed me in the right direction to configure the LocalizationAdmin for .Net Core 3.1 with SQLite.

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

2 participants