Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File is use
Message
De
29/03/2002 03:55:02
 
 
À
28/03/2002 01:45:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00638284
Message ID:
00638845
Vues:
24
>hello everybody
>
>
>I have 6 system in network. and my application is in network. now when i start my application in network it open in 4 system and when is open on 5th system it shows. error "File is used by another user." What might be the reason? Help Me out.

The obvious first thing to try on the problem station is to see if its CONFIG.FPW does not have the statement EXCLUSIVE=OFF, and that each private datasession is setting the EXCLUSIVE mode to off in the Load event of the form.report; SET EXCLUSIVE is scoped to the datasession.

The next thing to check is to ensure that the station does not try to share it resource (FOXUSER) file with any other station; you can specify a specific file to use through the station's CONFIG.FPW, you can turn off the use of the resource file entirely by issuing a RESOURCE-OFF in CONFIG.FPW, or you can flag the shared CONFIG.FPW as read-only, so that no station tries to gain exclusive access to it. The correct approach should be determined by how your app uses informaton from CONFIG.FPW - I usually opt for a CONFIG.FPW per station, so that hardware-specific s are tuned to the local system; the CONFIG.FPW is read-only, I have RESOURCE=OFF in my CONFIG.FPW, and make a copy of the main CONFIG file as part of my startuop, to avoid problems if someone starts the same app twice on the same gox.

>
>Thanks
>Mohammed
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