简体   繁体   中英

How to use SQL Server Compact Edition 32bits on Windows 64bit?

I'm actually using SQL CE for my C# .NET application and so far I didn't have any issues with it.

But recently I had to pass my AnyCpu compiled application to a 32-bit only compilation (due to a DLL only available in x86). But now, DbProviderFactories doesn't find anymore SQL CE and throw an exception that explain I might not have it installed on my computer (Win 7 64-bits).

I guess it's because he wants to link on the SQL CE 32-bit version instead of the 64-bits installed version. But when I try to install the 32-bit version of SQL CE, the installer tells me as I'm on a 64-bit OS, I must use the 64-bits installer...

Does anyone had this issue by willing using a 32-bit application using SQL CE on a 64-bit OS? Is there any solution?

Thanks for any help!

machine.config中缺少必需的DbProvider条目,请重新安装两个运行时MSI进行修复。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM