Page 1 of 1
Errors revisited
Posted: Thu Mar 07, 2013 11:46 am
by omni
Roger,
Same user that gets errors on pack is getting messages on zap. We zap work files all the time for posting programs. No indexes involved or assigned to these files.
Error is weird. Zap failed and error is "D", 8999 gencode
Do you think its a rights issue??
------------------------------------------------------------------------------
ERROR OBJECT:
------------------------------------------------------------------------------
oError:args :
oError:description : D
oError:filename :
oError:genCode : 8999
oError:operation : DbZap
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from PRINTREADY(150)
Called from PREOM(103)
Called from (B)MAIN(1557)
Fred
Omni
Re: Errors revisited
Posted: Thu Mar 07, 2013 3:46 pm
by rdonnay
dbPack() and dbZap() both require exclusive use.
I'm assuming you already know that.
I learned a long time ago to close and reopen a file after a dbPack() or a dbZap().
Don't try to do anything with the file until you do that.
Re: Errors revisited
Posted: Thu Mar 07, 2013 11:38 pm
by Koverhage
Fred,
can you post the full error log ?
I think it is a problem with the virus scanner
Re: Errors revisited
Posted: Fri Mar 08, 2013 8:34 am
by omni
Entire error log
==============================================================================
SHIPPERS CHOICE GLOBAL LLC LOG# ____________
==============================================================================
ERROR LOG of "O:\oisbrokr\OPMENU.EXE" Date: 03/07/2013 14:31:32
------------------------------------------------------------------------------
Xbase++ version : Xbase++ (R) Version 1.90.355
eXPress++ version : eXPress++ (c) Version 1.9.254
Operating system : Windows 7 06.01 Build 07601 Service Pack 1
Operating system : Windows 7 06.01 Build 07601 Service Pack 1
Database path : \oisbrokr;\oiswin
Default Directory : \oisbrokr
Current Directory : O:\oisbrokr
User : DANNYG
------------------------------------------------------------------------------
ERROR OBJECT:
------------------------------------------------------------------------------
oError:args :
oError:description : D
oError:filename :
oError:genCode : 8999
oError:operation : DbZap
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from PRINTREADY(393)
Called from PRTSTLST(298)
Called from (B)MAIN(1804)
------------------------------------------------------------------------------
WORKAREA STATUS:
------------------------------------------------------------------------------
Area Alias Record Index Order Eof Bof Del Found
------------------------------------------------------------------------------
1 STOPEN 2/1 STOPEN.CDX STINQ Yes No No No
2 STTRANCD 5/22 STTRANCD.CDX CODE No No No Yes
3 OPPRO 1/71 OPPRO.CDX OPPRO No No No Yes
4 DRIVER 8/620 Driver.cdx DRIVER No No No Yes
5 TRACTOR 61/72 TRACTOR.CDX TRACTOR No No No Yes
6 TRAILER 1/0 TRAILER.CDX TRAILER Yes Yes No Yes
* 8 WRKOWNER 1/0 WRKOWNER.CDX WOOWNER Yes Yes No Yes
9 OPMOVE 1/66 OPMOVE.CDX OPMOVE No No No Yes
12 STDEDUCT 1/0 STDEDUCT.CDX DEDUCT Yes Yes No Yes
15 OPSTOP 1/5 OPSTOP.CDX ORDSEQ No No No Yes
20 STMESG 1/0 STMESG.CDX STMESG Yes Yes No No
30 OONACHA 1/1 OONACHA.CDX OONACHA No No No Yes
------------------------------------------------------------------------------
-----------------------------
DISCLAIMER:
This email message is for the sole use of the intended recipient and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply Email and destroy all copies as well as the original message. All views expressed in the Email are those of the sender, except where specifically stated otherwise, and do not necessarily reflect the views of Southwest Forest Products inc.
-----------------------------
Re: Errors revisited
Posted: Fri Mar 08, 2013 11:11 am
by rdonnay
We might be able to trap this error in the Error handler.
Insert the below code in \exp19\source\dclip1\_dcerror.prg at line 126:
Run BUILD19_SL1.BAT to rebuild DCLIP1.DLL.
Code: Select all
CASE oError:operation='DbZap'
RETURN .t.
CASE oError:operation='DbPack'
RETURN .t.
Re: Errors revisited
Posted: Sun Mar 10, 2013 2:12 am
by Koverhage
you are sure that your file is opened exclusiv ?
Most of the 8999 eroor in this cases comes from the virus scanner, since the file
can't exclusiv opened.