The information in this article applies to:
SYMPTOMSThe Connection object of the ActiveX Data Objects supports the CommandTimeout property. This property is documented to support a value of 0, which provides for an infinite timeout. This functionality is not available in ActiveX Data Objects 1.0. RESOLUTION
The CommandTimeout property functions properly for all values other than 0.
If you wish an infinite timeout, you will need to use this parameter in
conjunction with the Command object instead. The following example
demonstrates how to set the Command object's timeout:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATION
The following code attempts to set the timeout to 0. When set to this
value, the connection object should provide for an indefinite amount of
time before timing out. It does not.
REFERENCES
For the latest Knowledge Base artices and other support information on
Visual InterDev and Active Server Pages, see the following page on the
Microsoft Technical Support site:
http://support.microsoft.com/support/vinterdev/ Additional query words:
Keywords : kbADO kbASPObj kbDatabase kbGrpASP kbGrpMDAC kbDSupport kbADO210sp2 kbiis400bug kbiis500bug |
Last Reviewed: December 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |