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]



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to