Registering a Custom Business Object

Microsoft ActiveX Data Objects (ADO)

Registering a Custom Business Object

To successfully launch a custom business object (.dll or .exe) through the Web server, the business object's ProgID must be entered into the registry as explained in this procedure. This RDS feature protects the security of your Web server by running only sanctioned executables.

Note   For MDAC 2.0 and later, the default business object, RDSServer.DataFactory, is not registered by default during MDAC installation. However, if RDSServer.DataFactory was registered as safe for execution on the computer prior to the installation, the registry entry is maintained for the new installation.

To register a custom business object

  1. Click Start and then click Run.

  2. Type RegEdit and click OK.

  3. In the Registry Editor, navigate to the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\ADCLaunch registry key.

  4. Select the ADCLaunch key, and then from the Edit menu, point to New and click Key.

  5. Type the ProgID of your custom business object and click Enter. Leave the Value entry blank.