Tomasz Chmielewski schrieb: > Andreas Heinlein schrieb: >> I have a problem with deploying WPKG on on of our machines. >> wpkg.js stops execution early during config intialization. When run as a >> service I get an event log entry with event id 1: >> Message: "Object expected" >> Description: Object expected >> Error code: 800a138f >> Stack: undefined >> Line: undefined >> >> I stepped through the script with the script debugger and found out it >> is stopping at line 1107, in function getConfig(), Line: >> if (argn("config") != null) { >> >> This line somehow generates an error that is caught and causes the log >> entry. > > Two things to check: > > 1) is your config file present / correct (config.xml in the same > directory as wpkg.js)? > 2) check if wpkg.js is not already running (just check if there is > another cscript process prior to starting cscript wpkg.js...). > I am pretty sure the config is fine since all other 55 clients are running just fine with it...
I have not checked for other cscript processes, but I wonder where they should come from - I tried this several times right after rebooting. Bye, Andreas ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users