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

SQL Anywhere 12.0.1 » SQL Anywhere Server - Programming » OLE DB and ADO development


Registering the OLE DB provider

When the SAOLEDB provider is installed using the SQL Anywhere installer, the provider registers itself. This registration process includes making registry entries in the COM section of the registry, so that ADO can locate the DLL when the SAOLEDB provider is called. If you change the location of your DLL, you must re-register it.

 Register the OLE DB provider
  1. Open a command prompt.

  2. Change to the directory where the OLE DB provider is installed.

  3. Enter the following commands to register the provider:

    regsvr32 dboledb12.dll
    regsvr32 dboledba12.dll