Microsoft KB Archive/108675

From BetaArchive Wiki
Knowledge Base


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

PSS ID Number: 108675

Article Last Modified on 9/30/2003



The information in this article applies to:

  • Microsoft LAN Manager 2.1
  • Microsoft LAN Manager 2.1a
  • Microsoft LAN Manager 2.2
  • Microsoft LAN Manager 2.2b



This article was previously published under Q108675

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: KB108675
Technology: kbAudDeveloper kbLanMan210 kbLanMan210a kbLanMan220 kbLanMan220b kbLanManSearch