Unable to use Microsoft SQL Server Compact 4.0 with Visual Studio 2019 image
Hello,
I seem to be having an issue with Appveyor and using Microsoft SQL Server Compact 4.0 with Visual Studio 2019 image. I've previously used the Visual Studio 2017 image and everything was fine until I switched the image to Visual Studio 2019.
I've added the appveyor.yml configuration file I been using.
Error Message:
System.Data.SqlServerCe.SqlCeException : Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.
- appveyor.yml 1.61 KB
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 25 Jun, 2021 03:30 PM
Can you drop a link to a build please?
2 Posted by Johelvis Guzman on 25 Jun, 2021 04:13 PM
This is the link to the failing build:
https://ci.appveyor.com/project/johelvisguzman/dotnettoolkit-repository/builds/39754164
Support Staff 3 Posted by Feodor Fitsner on 25 Jun, 2021 08:10 PM
I've never worked with SQL Server CE. Is
System.Data.SqlServerCe
looking for it in GAC? How do you install SQL Server CE while deploying the app to a user?Support Staff 4 Posted by Feodor Fitsner on 25 Jun, 2021 08:34 PM
OK, looks like install SQL Server CE 4.0 does the trick:
5 Posted by Johelvis Guzman on 26 Jun, 2021 06:08 AM
That did the trick. Thank you so much :)