简体   繁体   English

错误175:不变名称为“ System.Data.SqlServerCe.4.0”的ADO.NET提供程序

[英]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.

相关问题 错误175:具有不变名称“MySql.Data.MySqlClient”的ADO.NET提供程序未在计算机或应用程序配置文件中注册 - Error 175: The ADO.NET provider with invariant name 'MySql.Data.MySqlClient' is either not registered in the machine or application config file 错误:找不到具有不变名称'System.Data.SqlClient'的ADO.NET提供程序的实体框架提供程序 - Error: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient' 错误 - 无法加载具有不变名称“System.Data.SQLite.EF6”的ADO.NET提供程序 - Error - ADO.NET provider with invariant name 'System.Data.SQLite.EF6' could not be loaded 实体框架错误:未找到具有不变名称'System.Data.SqlClient'的ADO.NET提供者的实体框架提供者 - Entity Framework error: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient' 没有为ADO.NET提供程序找到具有不变名称“System.Data.SqlClient”的实体框架提供程序。 - No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'. 具有不变名称“System.Data.SQLite.EF6”的 ADO.Net 提供程序未在机器或应用程序配置文件中注册 - The ADO.Net provider with Invariant name 'System.Data.SQLite.EF6' is not registered in the machine or application config file 具有不变名称“System.Data.SqlClient”的 ADO.NET 提供程序未注册 - The ADO.NET provider with invariant name 'System.Data.SqlClient' is either not registered System.InvalidOperationException:“没有为 ADO.NET 提供程序找到具有不变名称“System.Data.SQLite”的实体框架提供程序 - System.InvalidOperationException: 'No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SQLite' 未找到具有不变名称'MySql.Data.MySqlClient'的ADO.NET提供程序的实体框架提供程序-WCF - No Entity Framework provider found for the ADO.NET provider with invariant name 'MySql.Data.MySqlClient' - WCF 具有不变名称“MySql.Data.MySqlClient”的 ADO.NET 提供程序未在计算机或应用程序配置文件中注册 - The ADO.NET provider with invariant name 'MySql.Data.MySqlClient' is either not registered in the machine or application config file
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM