Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Random File Access Denied errors with CDX & FPT files ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00779996
Message ID:
00780198
Vues:
13
>Our executable will stop responding and then if you wait for it it will finally come back 1-2 mins later and report a file acces denied error and its always a cdx or fpt or bak file ? The code is trying to open dbfs on a file server that everyong has r/w access to who uses the program.
>
>This happens with no regularity or pattern but when it happens to one person usually others will also have it happen to them at the same time but with different files !

We had problems with Win2K file server and Win2K Terminal Server.
The solution was registry changes to disable caching and OpLocks.

---------------
The following RegKeys did however resolve the problem:

Changes:
On the Windows 2000 sp2 Terminal Servers we added the following registry
Keys:

HKLM\System\CCS\Services\Mrxsmb\Paremeters
OpLocksDisabled
DWORD: 0x1

HKLM\System\CCS\Services\LanmanServer\Parameters
CachedOpenLimit
DWORD: 0x0

HKLM\System\CCS\Services\LanmanWorkstation\Parameters
UtilizeNTCaching
DWORD: 0x0


On the Windows 2000, sp2 File Server which hosts the FoxPro
Application we added the following registry keys:

HKLM\System\CCS\Services\LanmanServer\Parameters
EnableOpLocks
DWORD: 0x0

HKLM\System\CCS\Services\LanmanServer\Parameters
CachedOpenLimit
DWORD: 0x0

HKLM\System\CCS\Services\LanmanWorkstation\Parameters
UtilizeNTCaching
DWORD: 0x0
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform