Microsoft KB Archive/276270

= DataSourceControl ConnectionTimeOut Property Is Ignored =

Article ID: 276270

Article Last Modified on 7/13/2004

-

APPLIES TO


 * Microsoft Office PivotTable Component 9.0
 * Microsoft Office Spreadsheet Component 9.0
 * Microsoft Office Chart Component 9.0
 * Microsoft Access 2000 Standard Edition

-



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:

http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/dasdk/mdap4wc4.htm

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

243464 CommandTimeOut Expired Error

Additional query words: pra timeout time out won't work query def querydef recordset data access page sp2

Keywords: kbbug kbfix kboffice2000sp2fix kboffice2000presp2fix kboffice2000presr2fix KB276270

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.