Hi group,



  I'm trying to setup something so that the Cross-Reference update is
run every night on our Dev instance.  I've tried calling the update from
a small app that run the COM Connector and calls xRefUpdate::main(new
Args(classStr(SysCompileAll))).  But when I run it I endup with this :



Code execution error: TreeNode object not initialized.



Stack trace:

(C) \Classes\TreeNode\AOTrefresh

(C) \Classes\SysTreeNode\refreshAll - line 17

(C) \Classes\xRefUpdate\run - line 10

(C) \Classes\xRefUpdate\updateAll - line 9

(C) \Classes\xRefUpdate\main - line 18

(C) \Classes\BOAGlobal\UpdateXRef - line 8



Running xRefUpdate::main(new Args(classStr(SysCompileAll))); from an
interactive session (aka the normal login way), no problem appears.



Anyone tried to do something similar?  I appreciate any tip and clue.



Have a nice day!

Steeve...





[Non-text portions of this message have been removed]





SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to