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.

Important

Beginning with Windows 8 and Windows Server 2012, RDS server components are no longer included in the Windows operating system (see Windows 8 and Windows Server 2012 Compatibility Cookbook for more detail). RDS client components will be removed in a future version of Windows. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Applications that use RDS should migrate to WCF Data Service.

Note

For MDAC 2.0 and later and Windows DAC, the default business object, RDSServer.DataFactory, is not registered by default during the MDAC/Windows DAC 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 Editmenu, point to New and click Key.

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