Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » SQL Anywhere .NET Data Provider » Deploying the SQL Anywhere .NET Data Provider

SQL Anywhere .NET Data Provider system requirements Next Page

SQL Anywhere .NET Data Provider required files


The SQL Anywhere .NET Data Provider consists of two DLLs for each platform.

Windows required files

For Windows (except Windows CE) the following DLLs are required:

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.

Windows CE required files

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:

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.


Registering the SQL Anywhere .NET Data Provider DLL