Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File is in use by another
Message
From
29/09/1998 08:19:14
 
 
To
29/09/1998 07:27:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00141831
Message ID:
00141853
Views:
22
>>We get a FILE IS IN USE BY ANOTHER" error very frequently lately. All of them in the largest database (750.000 records). There are 50 users and the frequency of the error is about 20 every day. Yesterday the server was very slow and the occurence of the error increased to over a hundred!
>>The errorline is mostly an INSERT INTO
>>Could it be that FoxPro tries to lock the record but does not succeed within a certain number of milliseconds or so?
>>SET REPROCES TO 0 doensn't effect this.
>>Is FoxPro not able to handle tables of this size or is there a solution?
>>
>>Thanks,
>>
>>Marco Beuk
>Marco,
>Insert into would need a lock of header. With slow connection + set reprocess to 0 users might end in an endless wait too. I would suggest "set reprocess to 1" and then in a loop try insert into with error checking. If couldn't inserted, delay for sometime (ie: for x=1 to 10) and then retry.
>Cetin



Sorry for interrupt. if change code on use Append from Array help ?!
Or because of too much user access same table at same time!?
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform