Can not open connection with SQL Compact on on Windows Embedded Compact 7 (ZEBRA MK3100)

A Ahmed Sobhy 3 years 7 months ago
60 1 0

Hello Everyone,
I'm trying to develop app that dealing with database, so i have installed SQL compact 3.5 SP1 (3.5.5692.0).
I used Registry Editor to check the version that installed as mentioned in this post MK3100, Compact 7, and SQLCE 3.5
But with no luck, each time i got the following error when i try to open connection:
 
Error
ExceptionCode: 0x00000005
exceptionaddress: 0x428cd068
reading"0x00008000
faulting module: sqlcese35.dll
offset:0x0005d368 at
NativeMethods.OpenStore(IntPtrpOpenInfo, IntPtr$ pError)
at SqlCeConnection.Open()
 
Please any help will be appreciated.
 
Regards,
Ahmed Sobhy

Please Register or Login to post a reply

1 Replies

E Efkan YILMAZ

I just want to be sure you understand that in that post you referenced,  the problem was that there is a version built into the Compact 7 OS that does not match what you are trying to run, so the way to get around that is to create a text file with the extension .reg (for instance RemoveSqlCe.reg) with the below text in that file.

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server Compact Edition]

Once that file is on the device in the root of the \Application folder and the device is cold booted, a different version of SqlCe should be able to be installed and used.

I'm not sure that the version you are trying to install supports Compact 7 though.  I would try Service pack 2 (3.5.8080.0) if you are still having trouble.

CONTACT
Can’t find what you’re looking for?