Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best settings to avoid locking conflict
Message
From
04/10/2005 12:50:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Title:
Best settings to avoid locking conflict
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01055941
Message ID:
01055941
Views:
55
I have 80 users running application under W3K terminal server.

Sometimes LOCK() function fails or REPLACE command returns error
"Record is in use by another user".

To fix this I will try to use following settings in each datasession init:
SET LOCK OFF
SYS(3051, 1000) &&  Set Lock Retry Interval
SYS(3052, 1, .t. )  && Overrride set reprocess locking
SYS(3052, 2, .t. )
* This causes 60 seconds delay before reporting error:
SET REPROCESS TO 60
SET REPROCESS TO 60 SYSTEM
Are those best valuest ?
Are there any other VFP9 or W3K server config parameters which can be changed?
Andrus
Next
Reply
Map
View

Click here to load this message in the networking platform