wpkg.js execution error

View: New views
7 Messages — Rating Filter:   Alert me  

wpkg.js execution error

by Andreas Heinlein-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

The machine - like all others - is Windows 2000 SP4 with IE6 (=WSH 5.6).
I tried reinstalling IE6 with no success.

Any ideas?

Thank you,
Andreas
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@...
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Re: wpkg.js execution error

by Falko Trojahn-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Andreas,

> 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.
>
> The machine - like all others - is Windows 2000 SP4 with IE6 (=WSH 5.6).
> I tried reinstalling IE6 with no success.
>
> Any ideas?
>
>  
what command line do you use when starting wpkg.js?

You are using Wpkg Version 1.0.2, right? With Wpkg Client or do you
start manually?

Best regards,
Falko
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@...
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Re: wpkg.js execution error

by Andreas Heinlein-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Falko Trojahn schrieb:

> Hello Andreas,
>  
>> 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.
>>
>> The machine - like all others - is Windows 2000 SP4 with IE6 (=WSH 5.6).
>> I tried reinstalling IE6 with no success.
>>
>> Any ideas?
>>
>>  
>>    
> what command line do you use when starting wpkg.js?
>
> You are using Wpkg Version 1.0.2, right? With Wpkg Client or do you
> start manually?
>
> Best regards,
> Falko
>  
Yes, it's WPKG 1.02 with Client 1.2.1. I tried it manually with 'cscript
\\server\wpkg\wpkg.js' but got no output.

I am also using WPKG Web Interface, BTW.

Bye,
Andreas

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@...
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Re: wpkg.js execution error

by mangoo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@...
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Re: wpkg.js execution error

by Andreas Heinlein-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Parent Message unknown Re: wpkg.js execution error

by Andreas Heinlein-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Gerd Ott schrieb:

> I'm not sure if I remember correct, but I think I had a similar
> problem and this eventlog entry on a w2k-client, which was solved
> after reinstalling/updating wsh/cscript.
> (scripten.exe, link on http://wpkg.org/Download)
>
>
> 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.
>>
>> The machine - like all others - is Windows 2000 SP4 with IE6 (=WSH 5.6).
>> I tried reinstalling IE6 with no success.
>>
Well, I thought that by reinstalling IE6 I was also reinstalling WSH
5.6. I will give WSH 5.7 a try, but I don't like having "special"
machines which need different treatment like all others.

Bye,
Andreas
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@...
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Re: wpkg.js execution error

by Andreas Heinlein-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andreas Heinlein schrieb:

> Gerd Ott schrieb:
>  
>> I'm not sure if I remember correct, but I think I had a similar
>> problem and this eventlog entry on a w2k-client, which was solved
>> after reinstalling/updating wsh/cscript.
>> (scripten.exe, link on http://wpkg.org/Download)
>>
>>
>> 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.
>>>
>>> The machine - like all others - is Windows 2000 SP4 with IE6 (=WSH 5.6).
>>> I tried reinstalling IE6 with no success.
>>>
>>>      
> Well, I thought that by reinstalling IE6 I was also reinstalling WSH
> 5.6. I will give WSH 5.7 a try, but I don't like having "special"
> machines which need different treatment like all others.
>
>  
Have to reply to myself: This did not work.
Strangely, calling cscript tells me that it is Windows Scripting Host
5.1 (sic!) even after installing/updating with the WSH 5.7 install.

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@...
http://lists.wpkg.org/mailman/listinfo/wpkg-users
LightInTheBox - Buy quality products at wholesale price!