[英]Error 175: The ADO.NET provider with invariant name 'System.Data.SqlServerCe.4.0'
I've checked other answers but nothing seems to work. 我检查了其他答案,但似乎无济于事。 I continuously get this error on my (new) Windows 10 machine running Visual Studio Community 2017. I've tried just about everything and now I'm thinking it has something to do with running on a Windows 10 machine as I copied the same code from my Windows 8.1 machine in which I had no issue at all with SQL Server CE 4.0. 我在运行Visual Studio Community 2017的(新)Windows 10计算机上不断收到此错误。我已经尝试了几乎所有内容,现在我认为它与在Windows 10计算机上运行有关,因为我复制了相同的代码从我的Windows 8.1计算机中,SQL Server CE 4.0完全没有问题。
I've tried uninstalling and reinstalling SQL Server Compact 4.0, reinstalling the System.Data.SqlServerCE.4.0 package, removing and re-adding the assembly...I'm at a lost as I've spent a good part of five hours trying to compile. 我尝试卸载并重新安装SQL Server Compact 4.0,重新安装System.Data.SqlServerCE.4.0程序包,删除并重新添加程序集...我已经迷失了五个小时,试图编译。
Any suggestions would be greatly appreciated. 任何建议将不胜感激。
Well I guess I didn't try everything as I previously mentioned as I dug through some more suggestions and it turns out I was missing Microsoft SQL Server Compact 4.0 SP1 which I downloaded and seems to have fixed the problem. 好吧,我想我在尝试更多建议时并没有尝试前面提到的所有方法,结果发现我没有下载我下载的Microsoft SQL Server Compact 4.0 SP1,并且似乎已解决了该问题。
For those that stumble onto my question and answer, it can be downloaded here: https://www.microsoft.com/en-us/download/details.aspx?id=30709 对于那些偶然发现我的问题和答案的人,可以在这里下载: https : //www.microsoft.com/zh-cn/download/details.aspx?id=30709
And thank you to whom responded to my post with their comments and suggestions. 并感谢那些回复我的评论和建议的人。 I believe ErikEJ provided the correct response. 我相信ErikEJ提供了正确的答案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.