DataSourceControl ConnectionTimeOut Property Is Ignored (276270)



The information in this article applies to:

  • Microsoft Office PivotTable Component 9.0
  • Microsoft Office Spreadsheet Component 9.0
  • Microsoft Office Chart Component 9.0
  • Microsoft Access 2000

This article was previously published under Q276270
Advanced: Requires expert coding, interoperability, and multiuser skills.

SYMPTOMS

When you work with the DataSourceControl (DSC) of an Office Web Component, you may specify a CommandTimeOut value for the Connection object. When you then build a query or RecordsetDef based on the Connection object, your CommandTimeOut value is ignored. The operation times out at the default value of 30 seconds.

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft Office 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

276367 OFF2000: How to Obtain the Latest Office 2000 Service Pack

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Office 2000 Service Pack 2.

MORE INFORMATION

To temporarily work around this problem, set the CommandTimeOut property for individual Command objects rather than for the Connection object.

For more information about the CommandTimeOut property, please visit the following Microsoft Web site:

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

243464 CommandTimeOut Expired Error


Modification Type:MinorLast Reviewed:7/13/2004
Keywords:kbbug kbfix kbOffice2000preSP2Fix kbOffice2000preSR2fix kbOffice2000sp2fix KB276270