Article ID: 246560 - Last Review: November 17, 2003 - Revision: 3.1 BUG: Excessive Network Activity When Using Access ODBC DriverThis article was previously published under Q246560 On This PageSYMPTOMS
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: STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. MORE INFORMATION
In one test scenario, a total of 24,048 network packets totaling 14,380,704 bytes were generated in one minute by an idle ODBC connection using an Access 97 format database on Windows NT 4.0 file server. The amount of packet activity generated is dependant upon the processor speed of the client computer, the network protocol used, the responsiveness of the file server, and also the network client used; for example using Novell or Microsoft network clients can affect the number of packets. To determine which version of the driver you have, start the ODBC Administrator tool and click the Drivers tab. If the version of the Microsoft Access ODBC driver starts with 3, you have an MDAC 2.0 version of the driver. If the version starts with 4, it is an MDAC 2.1 or later version of the Microsoft Access ODBC driver. To reproduce this issue, you need a network packet monitoring tool such as Windows NT Network Monitor as well as the ODBC Test tool that is installed by the Microsoft Data Access SDK 2.1. Note that any ODBC client tool that can open an ODBC connection and leave it open can be used in place of ODBC Test. Drivers required for Network Monitor are included in all versions of Windows NT and Windows 2000. The Network Monitor application required for monitoring traffic is included only in the server versions. For more information on Network Monitor look in the Help included with the operating system and MSDN. Steps to Reproduce Behavior
REFERENCES
For more information on the PageTimeout setting, see the Microsoft Jet Database Engine Programmer's Guide, Second Edition (Microsoft Press).
| Article Translations
|
Back to the top
