Main Page Sitemap

Unable to load sqlceme35.dll

unable to load sqlceme35.dll

This seems like odd behaviour for a clean install.
SQL Server Compact Team Blog that covers a couple possible causes/solutions for this exception.Px, my Solution - Target x86 Only.This is because a single process in Windows can be either 32-bit or 64-bit and cannot run both 32-bit and 64-bit code within the same process.The reason for this issue according to ErikEJ's post is "SQL Compact is only supported in 32 bit WoW (Windows on game pc server indowebster Windows) mode on the x64 platform.".I installed SQL Server Compact.5 x86 and started testing it out when I got a nice "Unable to load DLL 'sqlceme35.dll" runtime exception.Since the above SQL Server Compact Team Blog post was written, they have released a x64 version of SQL Server Compact.5.So, to really support x64 Windows you complete suicide manual pdf english really have two options: Change your application to target "x86" and distribute it that way.So x64 IS supported.I prefer the first option because it has a couple benefits.
What about 64-bit (x64) support?
It'll run on both x86 and x64 editions of Windows.
Even though it only targets x86, it will work on x64 systems too, and you relieve users from being required to understand whether they should install the x86 or x64 version.From my understanding of how things work, when you compile for "Any CPU" your application will be run under the 64-bit.NET Framework on x64 Windows, and since SQL Compact is only 32-bit then Windows is unable to fire it up within the same process.Plus this way you only need to worry about building your application and installer a single time for each release.Alternatively, you could create two seperate versions of the installer for your application; one that targets x86 and one that targets x64.Need more details, please visit ErikEJ's blog post.This is why it runs without throwing the exception once you change your app to target "x86" (32-bit).