Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Super strange
Message
De
26/03/2002 17:20:15
 
 
À
26/03/2002 14:21:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00637438
Message ID:
00637569
Vues:
18
>Real strange issue:
>
>Client has our app. installed on a network, NT, workstations WIN98 first edition.
>
>The use a particular section in our app. all day, then every so often when they go into the same section they have been working on most of the day, one of the grids appears blank (table not associated, closed, whatever.. I can handle that).
>NOW COMES THE WEIRD PART...
>When this happens, (blank grid), the user has to reboot the workstation. If they just log out of the application and try resign on, the error continues. It only disappears when the user reboots the workstation. Not the server, the workstation.
>
>Anyone have any ideas.

SWAG, bit it sounds remarkably close to a problem we had with a hybrid Win2K server, and a station that, after sitting idle for a period of time, would blank a grid, and would actually lose connectivity to the drive letter mapped to the remote resource. Rebooting, which forced a complete disconnect/reconnect, or using WNetCancelConnection2() to drop the drive letter mapping, followed by a call to WNetAddConnection2() to recreate the mapping, cleared the problem. It turned out that we had exceeded a threshhold on the Win2K server hosting the connection, so that if a connection remained idle for a period of time (somewhere in the 15-30 minute range) it would discard the connection at the server in order to free up an apparently idle connection; Win98 was dain-bread and was unaware of the server-side disconnect, and assumed a connectivity error occurred, and rather than reestablishing the connection to the idle mapped drive, it invalidated the mapping and refused to reconnect, because WNetCancelConection() had never been called to release the drive mapping, so a subsequent attempt to remap the drive failed because the drive letter 'slot' was still occupied. After proving out the behavior, we adjusted the behavior of the Server service under Win2K server to allow an infinite number of connections before recycling idle mappings:
           Key: HKLM\System\CCS\Services\LanmanServer\Parameters
Key Value Name: CachedOpenLimit
Value Assigned: DWORD:0x0
I don't know the equivalent registry hack for NT4, but you might try www.ntfaq.com
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform