LM WS w/ FoxPro Fails if Popup Received During I/O

ID: Q108675


The information in this article applies to:
  • Microsoft LAN Manager, versions 2.1, 2.1a, 2.2, 2.2b


SUMMARY

During various database operations with Microsoft FoxProDos 2.5, file access requests fail intermittently, often when an MS-DOS workstation receives a message popup during file I/O.

This problem DOES NOT occur if:

  • the popup message is cleared within the session time-out period


  • the messenger and netpopup services are disabled


  • you are operating under Windows, where netpopup handles messages in the background



MORE INFORMATION

Here is a typical failure scenario:

An MS-DOS workstation performing FoxPro database operations receives a popup message for the successful completion of a print job. The workstation service stops processing server message blocks, and continues sending only logical link control traffic. The server times out the workstation's session (auditing shows logoff), and when the workstation requests access to database files the server sets up a new session. But the original file handle is now invalid, and you receive an error message such as:

  • file not found


  • file does not exist


  • cannot create file


  • use of transgressed handle


  • invalid file handle



RESOLUTION:

Set the following parameters on the workstation and server to increase the LANMAN.INI session time-out from the default 45 seconds:

Workstation
Sesstimeout=128
Server
Srvheuristics 15 set to 9 for no time-out

Additional query words: 2.1 2.10 2.1a 2.10a 2.2 2.20 2.2b 2.20b

Keywords :
Version : :2.1,2.1a,2.2,2.2b
Platform :
Issue type :


Last Reviewed: November 18, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.