How to connect to AXF database from .net form application

579
1
10-16-2013 12:23 PM
SumanChatterjee
New Contributor
We are developing an ArcPad customised application to be deployed in Windows Mobile 6.0. In that we are developing a .Net form where we are trying to connect to .AXF database. The solution is getting built and is also getting deployed in the device and also in the emulator without any issues. But when we are tring to connect with the .AXF it is throwing an exception -

{"The database file has been created by an earlier version of SQL Server Compact. Please upgrade using SqlCeEngine.Upgrade() method."} System.Data.SqlServerCe.SqlCeException {System.Data.SqlServerCe.SqlCeInvalidDatabaseFormatException}

I am getting the same error while using .net framework 3.0 /3.5
I tried the DotNetIntegration samples that comes with ArcPad. Even they are giving the same errors.

So wondering how to connect to an Axf database in .net form??
Tags (3)
0 Kudos
1 Reply
SumanChatterjee
New Contributor
never mind. found the right dll to connect to AXF.
Thanks!
0 Kudos