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

SQL Anywhere 12.0.0 (Français) » SQL Anywhere Server - Programming » Deploying databases and applications » Deploying database servers


Registering DLLs on Windows

When deploying SQL Anywhere, there are DLL files that must be registered for SQL Anywhere to function properly. Note that for Windows Vista or later versions of Windows, you must include the SQL Anywhere elevated operations agent (dbelevate12.exe) which supports the privilege elevation required when DLLs are registered or unregistered.

There are many ways you can register these DLLs, including in an install script or using the regsvr32 utility on Windows or the regsvrce utility on Windows Mobile. You could also include a command, like the one in the following procedure, in a batch file.

 ♦  To register a DLL
  1. Open a command prompt.

  2. Change to the directory where the DLL provider is installed.

  3. Enter the following command to register the provider (in this example, the OLE DB provider is registered):

    regsvr32 dboledb12.dll

The following table lists the DLLs that must be registered when deploying SQL Anywhere:

File Description
dbctrs12.dll The SQL Anywhere Performance Monitor counters.
dbmlsynccom.dll The Dbmlsync Integration Component (non-visual component).
dbmlsynccomg.dll The Dbmlsync Integration Component (visual component).
dbodbc12.dll The SQL Anywhere ODBC driver.
dboledb12.dll The SQL Anywhere OLE DB provider.
dboledba12.dll The SQL Anywhere OLE DB provider schema assist module.
Windows\system32\msxml4.dll The Microsoft XML Parser.