The SQL Anywhere .NET Data Provider consists of two DLLs for each platform.
For Windows (except Windows CE) the following DLLs are required:
install-dir\Assembly\v2\iAnywhere.Data.SQLAnywhere.dll
install-dir\Assembly\v1\iAnywhere.Data.SQLAnywhere.dll
The file iAnywhere.Data.SQLAnywhere.dll) is the DLL that is referenced by Visual Studio projects. The first DLL is required for .NET Framework and/or .NET Compact Framework version 2.0 applications. The second DLL is required for .NET Framework and/or .NET Compact Framework version 1.x applications.
These files must be installed in your SQL Anywhere installation directory (the default location is C:\Program Files\SQL Anywhere 10\ce\Assembly) because they require the language DLLs that are also located in your SQL Anywhere installation directory.
For Windows CE, iAnywhere.Data.SQLAnywhere.dll is the DLL that is referenced by Visual Studio projects. There are versions for .NET Compact Framework version 2.0 or 1.x under each supported Windows CE hardware platform. The DLLs are stored in the following locations under install-dir\ce\Assembly:
v2\arm.30\iAnywhere.Data.SQLAnywhere.dll
v2\arm.50\iAnywhere.Data.SQLAnywhere.dll
v2\armt.40\iAnywhere.Data.SQLAnywhere.dll
v2\x86.30\iAnywhere.Data.SQLAnywhere.dll
v1\arm.30\iAnywhere.Data.SQLAnywhere.dll
v1\armt.40\iAnywhere.Data.SQLAnywhere.dll
v1\arm.50\iAnywhere.Data.SQLAnywhere.dll
v1\x86.30\iAnywhere.Data.SQLAnywhere.dll
Visual Studio .NET deploys the .NET Data Provider DLL (iAnywhere.Data.SQLAnywhere.dll) to your device along with your program. If you are not using Visual Studio .NET, you need to copy the Data Provider DLL to the device along with your program. It can go in the same directory as your application, or in the Windows directory.