Configuring DataFactory for Safe or Unrestricted Modes

Microsoft ActiveX Data Objects (ADO)

RDS 2.5

Configuring DataFactory for Safe or Unrestricted Modes

By default, ADO is installed with a "safe" RDSServer.DataFactory configuration. Safe mode for RDS Server components means that the following are true:

  1. Handler is required with the RDSServer.DataFactory (this is mandated by a registry key setting).
  2. The default handler, msdfmap.handler, is registered, present in the safe-handler list, and marked as the default handler.
  3. Msdfmap.ini file is installed in the Windows directory. You must configure this file according to your needs, before using RDS in three-tier mode.

Optionally, you can configure an unrestricted DataFactory installation. DataFactory can be used directly without the custom handler. Users can still use a custom handler by modifying the connection strings, but it is not required. For more information on the implications of using the RDSServer.DataFactory object, see Securing RDS Applications.

The registry file handsafe.reg has been provided to set up the handler registry entries for a safe configuration. To run in safe mode, run handsafe.reg. The registry file handunsf.reg has been provided to set up the handler registry entries for an unrestricted configuration. To run in unrestricted mode, run handunsf.reg.

After running either handsafe.reg or handunsf.reg, you must stop and restart the World Wide Web Publishing Service on the Web server by typing the following commands in a command window: "NET STOP W3SVC" and "NET START W3SVC".

For more information about using the customization handler feature of RDS, see the technical article Using the Customization Handler Feature in RDS 2.1.

See Also

DataFactory Customization | RDS Fundamentals

© 1998-2003 Microsoft Corporation. All rights reserved.