Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI OLEDB Enterprise

Disable OLE DB Services

  • Last UpdatedFeb 07, 2023
  • 1 minute read

There are two ways to disable OLE DB services:

  • Edit the registry entry [HKEY_CLASSES_ROOT\CLSID\{0D7893B6-1D54-4a22-8D40-AF2FF6B1955F}] and use one of the following values that disables the service(s) as needed:

    Services enabled

    Value in connection string

    All services (the default)

    0xffffffff

    All services except pooling

    0xfffffffe

    All services except pooling and auto-enlistment

    0xfffffffc

    All services except client cursor

    0xfffffffb

    All services except client cursor and pooling

    0xfffffffa

    No services

    0x00000000

  • For ADO-based applications, add one of the following strings to the connection string:

    Services enabled

    Value in connection string

    All services (the default)

    "OLE DB Services = -1;"

    All services except pooling

    "OLE DB Services = -2;"

    All services except pooling and auto-enlistment

    "OLE DB Services = -4;"

    All services except client cursor

    "OLE DB Services = -5;"

    All services except client cursor and pooling

    "OLE DB Services = -6;"

    No services

    "OLE DB Services = 0;"

TitleResults for “How to create a CRG?”Also Available in