Installing SQL Server Compact Edition 3.1 on Mobile Device (Pocket PC)

1.) Download the sqlce3.x installer,

1.) Download the sqlce3.x installer,


2.) Install in your desktop computer.

3.) Navigate to where you installed the sqlce, typically you have to navigate here: C:\Program Files\Microsoft SQL Server Compact Edition\v3.1\SDK\bin\wce400\armv4

4.) You will notice 3 cab files, copy them all to a temporary folder in your pocket

pc using activesync.

5.) Execute (double click) each to install. To check if you have successfully installed the sqlce, in your pocket pc, a directory like this should exist: \Program Files\SQL Mobile\EN

There you go, you have successfully installed the sqlce database on pocket pc.

The above libraries are compatible with Visual Studio 2005 development.

For Compact Database that was created on code by Visual Studio 2003 you need to install the cab files stored here:
C:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce400\armv4

sqlce.wce4.armv4 (main database engine) (contains query analyzer, etc)
sql.wce4.armv4 (I'm not sure)

If you encounter this problem "you are trying to access an older version of sqlserver compact edition database...". It is very likely that you have created a database in Visual Studio 2003 but deployed the cab files of 2005 or vice versa so watch out.


.net 7383674086484346510

Post a Comment