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...). -- Tomasz Chmielewski http://wpkg.org |