Search code examples
.netwindows-mobilewindows-ce

ERROR : Can't find PInvoke DLL 'sqlceme35.dll'


I use The PDA Honeywell Dolphin 6500 for inventory management with XL Tms software ..

I get this ERROR when launching the application on the device ->

Can't connect to database .. 

Can't find PInvoke DLL `sqlceme35.dll`

Any help is very appreciated. Thank you


Solution

  • You need to install SQL Server Compact on the target. That includes not just System.Data.SqlServerCe.dll, but all of the native DLLs as well.

    This means you should also be deploying sqlceca35.dll, sqlceme35.dll, sqlceqp35.dll, sqlcese35.dll, and probably sqlcecompact35.dll, sqlceer35en.dll and sqlceoledb35.dll as well.