本文介绍了构建后出现Sql compact错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在C#中有一个winforms应用程序使用sal紧凑型数据库。

它在我的系统上调试好但是在我构建安装文件并安装它后我收到错误



检测到可能的文件版本不匹配ADO.NET提供程序和SQL Server Compact的本机二进制文件可能导致功能不正确。



我有64位系统并安装了SQL Compact 64位,我从sql压缩文件夹复制的文件是64位,但我在构建选项中使用了更喜欢的32位。

可能因为这个吗?

但如果我试试安装32位版本我得到一个错误,我的系统是64位。



感谢您的帮助。



我尝试过:



Hi,

I have a winforms app in C# witch uses an sal compact database.
It debugs ok on my system but after i build the setup file and install it i get an error

Possible file version mismatch detected between ADO.NET Provider and native binaries of SQL Server Compact witch could result in an incorrect functionality."

I have a 64 bit system and have SQL Compact 64 bit installed, the files i copied from the sql compact folder are 64 bit but i used the prefer 32 bit in build options.
Could it be because of this?
but if i try to install the 32 bit version i get an error that my system is 64bit.

Thanks for the help.

What I have tried:

I have a 64 bit system and have SQL Compact 64 bit installed, the files i copied from the sql compact folder are 64 bit but i used the prefer 32 bit in build options.

推荐答案


这篇关于构建后出现Sql compact错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 10:48