Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add file an .EXE after it is built?
Message
From
17/04/2019 14:07:02
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01668100
Message ID:
01668154
Views:
36
>>>>Disabling network caching has been the greatest benefit we've given to our apps since the migration to Windows 10.
>>>
>>>How do you disable the caching on the client machine?
>>
>>https://www.levelextreme.com/Home/ViewPage?Activator=1021&ID=1665186
>>
>>
We set these values to these settings (0 or 1 for false or true):
>>0 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\Smb1
>>1 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\Smb2
>>0 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\DirectoryCacheLifetime
>>0 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\FileInfoCacheLifetime
>>0 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\FileNotFoundCacheLifetime
>>0 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\UseOpportunisticLocking
>>1 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MRXSmb\Parameters\OplocksDisabled
>>0 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\EnableOplocks
>
>Thank you. This would be difficult for me to do. Since I try not to get into the customers' PCs register and not to recommend the customer IT to do that. Liability. But I will bookmark this as a possible solution.

We have many customers with IT departments which will not allow us to alter these registry settings as they are machine-wide, and affect other applications using the network. They present the argument that "other systems don't need to do this," and we tell them we use a file system based database, and it requires that caching be disabled and take them through the reasons why.

Some customers have refused to make the changes and constantly have data corruption. Many others have refused to make the change, constantly had data corruptions, tried it one day, and never looked back.

Each customer is different. :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform