Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Major Hang Problem... HELP
Message
De
30/04/1999 15:36:13
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
 
 
À
29/04/1999 06:12:19
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00212295
Message ID:
00214082
Vues:
27
Thanx for the reminder Centin and Robert... I have been involved with advanced tech support for various products for many years and this is one rule I have councelled many people on but forgot myself.

I found the problem and it was not my code... beleive it or not it was related to the Math Co-prosessor, and printing. I will send you (and all in the thread) a complete description in a few minutes.

Once again, thanx for the input. I will adjust my code to reflect your suggestions.


>>I have had an app running for 2+ weeks without any serious problems, and then late last week, the app started to hang users machines. It appears to happen only when a user presses a button that results in them changing to a different form.
>>
>>While the machines can lock at almost anytime, they usually lock after a few hours of use. They either hang (i.e. CNTL ALT DEL, does nothing) with the HDrive light on (although I have not been able to hear the HDrives grinding away as I would expect), OR the CAN NOT READ FROM DRIVE C: blue screen appears. Either way the user has to power down their machine.
>>
>>Typically when a user clicks a button to go to another form, the code looks something like:
>>< CLOSE tables all
>>< CLOSE databases all
>>< Clear windows
>>< DO FORM XXXX.SCX
>>
>>I also have a form in which I used:
>>< thisform.release
>>instead of the CLEAR WINDOWS line but the same hang prob occurs on that form.
>>
>>All forms:
>>run maximized;
>>without any menus;
>>with a FIXED DIALOG Boarder Style;
>>in the VFP main screen which is sizable with scroll bars;
>>
>>I thought it might be related to the DB, so I have a VALIDATE DATABASE, PACK DATABASE routine that is now run every night. But this has not helped.
>>
>>I have also changed all of the UPDATE settings to IGNOR in the Referencial Integrity. Now there is only CASCADE set for some of the DELETE settings in the RI.
>>
>>All clients have at least 48MB running either Win95 or Win98, pulling the shared data from an NT server (I just upgraded to SP4 from SP3 but had no improvement) with 128MB. The server is almost exclusively for File and Print sharing (i.e. no apps running on the server). All the client HDrives are fast, have at least 300+MB free, and have been scan disked and defragged in the last week or so. The client machines are all Intel P150's or better, running brand name parts.
>>
>>All my forms use Pessimistic Row Buffering, and I have "editwork c:\
>>tmpfiles c:\, sortwork c:\, progwork c:\" in the CONFIG.FPW file.
>>
>>No other programs are having problems sharing data on the server and no other programs a locking users machines.
>>
>>My VFP has SP2.
>>
>>I am out of idea's and getting VERY worried. Any sugguestions would be greatly appreciated.
>Hi Ian,
>I second on Robert's suggestion. Never set tempfiles to root dir. Root dir has filecount limit (it was 512 in old days but don't know if changed). When FP cannot use a temp dir then you can get any errors in response to even "quit".
>Tempfiles = "c:\temp" && Useless - discards \temp and sets temp file to c:\
>Instead use editwork, progwork, sortwork as you do :
>editwork = c:\temp\
>sortwork = c:\temp\
>progwork = c:\temp\
>\Temp must exist and the second backslash is for compatibility with fox2x (in fox2x c:\temp is treated as c:\).
>Also if you do not use local tempfiles you could get file read errors on an NT server.
>There was a thread about this few days ago and the solution :). You cannot do a search too I know but that's all I have :(
>Cetin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform