BUG: Excessive Network Activity When Using Access ODBC Driver (246560)
The information in this article applies to:
- Microsoft Data Access Components 2.1
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6
This article was previously published under Q246560 SYMPTOMS
When using an MDAC 2.1 version of the Microsoft Access ODBC driver and opening a Microsoft Access database file on a network share, an excessive amount of network packet activity occurs, even when the ODBC connection is idle. In addition, when using a local database file, continuous file activity
occurs even when the ODBC connection is idle.
CAUSE
The PageTimeout setting for the ODBC data source (DSN) or supplied in the ODBC connection string is set too low. The Microsoft Access ODBC Driver that ships with MDAC 2.1 or later interprets the PageTimeout setting in milliseconds. The MDAC 2.0 versions of the Access ODBC Driver interpreted PageTimeout in seconds.
Also, if you create a new ODBC data source with the MDAC 2.1 or later version of the Access ODBC Driver, the driver incorrectly uses a default value of 5 for PageTimeout. The correct default value should be 5000 with the MDAC 2.1 version of the driver.
RESOLUTION
The recommended setting for PageTimeout with the MDAC 2.1 or later version of the Microsoft Access ODBC driver is 5000. To change this value, click Options in the ODBC data source and modify the PageTimeout value.
You can also add this to your ODBC connection string. For example, here is an ODBC connection string that uses a DSN as well as adds the PageTimeout setting:
"DSN=MyODBCDataSource;PageTimeout=5000;"
Here is an example ODBC connection string that uses a DSN-less connection as well as adds the PageTimeout setting:
"Driver=Microsoft Access Driver (*.mdb);PageTimeout=5000;DBQ=C:\MyFile.doc;"
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCES
For more information on the PageTimeout setting, see the Microsoft Jet Database Engine Programmer's Guide, Second Edition (Microsoft Press).
Modification Type: | Major | Last Reviewed: | 11/17/2003 |
---|
Keywords: | kbBug kbDatabase kbJET KB246560 |
---|
|