Windows Compact 7- Sql Server Client error (WT41N terminal)

F Felix Garcia Serrano 3 years 7 months ago
19 1 0

I am programming an .Net application on WT41N0 teminal with Win CE7 to connect to SQL Server express 2014.
This application on WT40 old (Win CE5) runs OK,
but with WT41N the Connect operation shows an exception error.
 
I am using VS2008SP1 +  Motorola PSDK for WT41.
The dbnetllib.dll, I copied manually from C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Devices\Client\wce500\armv4i.
 
Please, I need help ti resolve this connection error.
 
Thanks in advance for your help

Please Register or Login to post a reply

1 Replies

R Richard Kerr

I used to have that problem on the WT41N0.
You will need to install the cab file for SQL Compact 3.5.
Look in Program Files/Microsoft SQL Compact Edition/3.5/Devices/Client/wce500/armv4i
Copy sql.wce5.armv4i.cab to your device Application storage area and modify your startupctl onRestore script so it has the following lines

\windows\wceload.exe /delete 0 "\Application\sql.wce5.armv4i.CAB"
wait

You will need to install StartUpCtl on the device.

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