Disable OLE DB Services
- Last UpdatedFeb 07, 2023
- 1 minute read
- PI System
- PI OLEDB Enterprise 2019
- Developer
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;"