FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error Log Content
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Error Log Content
Posted: Tue Oct 01, 2019 07:59 PM

This may be normal, but I was surprised.

Using the Errorsys, should the display of files open be just those on the local computer, or should it be showing all files accessed on the server.

When a user opens an order in my program, on their local workstation, 8 dbf files are opened. When they exit the order, all are closed. Today I received a copy of the error log, showing the error on the customers workstation. I would have expected 8 dbfs to show. Instead over 150 are showing.

The business has multiple computers and the program may have been running on many of them ( perhaps 6 or 7 ).

All files are opened as data objects, and when the routine ends, they are closed. Many of the files listed are duplicates of the one that is being used on the local workstation.

Any thoughts on this would be greatly appreciated. Thank you.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error Log Content
Posted: Wed Oct 02, 2019 05:43 AM

Tim,

Please copy here the error log content, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Error Log Content
Posted: Wed Oct 02, 2019 05:50 PM

Antonio,

It is far to large. I will send it to you directly so you can see what I mean.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Error Log Content
Posted: Wed Oct 02, 2019 11:53 PM

Maybe it is crashing when an invoice is open, and the user runs the program again and opens another 8 files. I don't remember if the system stills sees the files that were open at the crash, as still open after the crash.

Possibly you could intentionally force an error when an invoice is open, then do it again and see if the number of databases open goes up by 8 each time (in the crash log).

Actually, you could do this with just a simple test program by just opening one database, then forcing a crash, then running it again.

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion