Hi FoxPerts,
I had an absolute stable application when it was in FPW.
I ran a conversion and did surprisingly few manual adaptions and everything seemed to work fine in VFP9 SP2.
The data stayed having 2.6 headers, since some workstations have to use the old FPW-app.
The error:
The C0000005 occurs every 10-20th time on a CoursorDown in a BROWSE in a BROWSE.
The simplified code:
Essentially it's no more than preparing a menu, READ EVENTS (line 677).
Then the user chooses (in that menu) DO Order.PRG (line 1406).
This consist of:
Code:
ON KEY LABEL F9 DO Position.PRG
USE Order
BROWSE && line 298
Position.PRG:
Code:
USE ChildList
SET FILTER TO Position.ID_Order = Order.ID_Order
BROWSE && line 83
Then the user moves down the positions-browse with CursorDown.
If the list is longer then the browse window, which then has to scroll --> C0000005
If the user does a DELETE on one position the probability for a C5 is roughly double
- With close to 0%, if there is just one on the network.
- With around 5%, if all 15 users are checking OrderPositions or adding orders (which has C5s as well but much rarer).
The typical VFP9rerr.log entry:
Called from - position line 83 {x:\mghandel\app-vfp\prgs\position.prg position.fxp}
Called from - ON... line 0 { }
Called from - order line 298 {x:\mghandel\app-vfp\prgs\order.prg order.fxp}
Called from - _35n0vnup2 line 1406 {x:\mghandel\app-vfp\mainmenu.mpr x:\mghandel\app-vfp\smghandel.exe}
Called from - ON... line 0 { }
Called from - mainmenu line 677 {x:\mghandel\app-vfp\mainmenu.mpr x:\mghandel\app-vfp\smghandel.exe}
(Sometimes/vague: Eventlog: "application error" 1000 "ntdll.dll")
(Other VFP9rerr.log reveal that all C5 occur on just: SELECT-SQL, READ EVENTS, CLOSE ALL, SELECT, SEEK, REPLACE, GO BOTTOM, IF USED())
What I tried so far:
- RESOURCE=OFF (in config.fpw)
- no HP-printer drivers
- newest graphics drivers in standard mode
- some of the workstations:
- turn of write behind cache
- network card: 100Mb instead of automatically
- deactivate write behind cache
- deactivate write behind cache on server
- rebuilt the CDXs. (not reindexed but deleted and index on ...)
- no virus scanner
- no return in with....endwith
- Delete anything in C:\Documents and Settings\username\Application Data\Microsoft\Visual FoxPro 9.
- Moved all data to another server temporarily
- searched for and deleted all foxuser.dbf
- get rid of SET PATHs that do not exist
Server is W2003, Workstations: XPSP3, W7
VFP: 9.0.0.7432, RunTime (VFP9r): 9.0.0.7423
What can I do? Do you need more information?
I had a similar [blue]thread [/blue] in foxite.com two month ago (Thread ID: 292711). We didn't find the reason or a solution.
My client is doubting my capabilities :-( (which I don't blame her for)
TNX in advance, Martin@Vienna@Austria (@Europe@Earth@Universe)