Re: Help! WScript application error!

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: bely (bely_at_discussions.microsoft.com)
Date: 12/14/04


Date: Mon, 13 Dec 2004 23:43:01 -0800

I found a bug in my script. Due to a design error, it calls Quit() method of
an "InternetExplorer" object twice (the script calls objIE.Quit() then the
_onQuit() function also calls objIE.Quit()). I wonder if the problem is
related to this bug, you know, the bug is there but is often "invisible". I
would be grateful if the answer is positive.

"Michael Harris (MVP)" wrote:

> bely wrote:
> > My version is 5.6.0.6626. I know it is not the newest version. But
> > according to this, do you think the bug is in my script or in the
> > script host?
>
> It is unlikley to be a bug in your script, if, as you say, the script has
> actually completed what it was intended to do.
>
> How often is 'occasional'? One out of 10 logons? One out of 100?
>
> Does this problem occur if you re-execute the logon script manually *after*
> is has already run during logon? Does it occur with any other scripts?
> Does your logon script do anything out of the ordinary?
>
> >
> > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/w2kmsgs/791.asp
> >
> > I cannot be sure if upgrading the script host helps, bcz as I have
> > said, the error just occurs occassionally. And I may not be able to
> > upgrade it as my will (this is not my PC, but is my firm's). Does
> > anybody know what usually will cause this "application error" so I
> > can modify my script?
>
> If the bug is in the 5.6.0.6626 build script host (which I would assume it
> is) and has been fixed in a later build (no way to know if it has been),
> then your only option is to upgrade to a current build which should (one
> would hope) have the most bugs fixed...
>
> Since this is a work PC, you'll have to negotiate with your own tech support
> group as to what action to take.
>
> --
> Michael Harris
> Microsoft MVP Scripting
>
>
>



Relevant Pages

  • cvs-src summary for June 14-21
    ... Intel PRO/10GbE driver MFC'ed ... Max responded, saying that since the script only adds lines to the output, ... Max later backed out the commit. ... Bruce Evans fixed a bug that allowed users to crash the system by ...
    (freebsd-current)
  • Re: SQLite 3.3.16 nulls test results
    ... Here are the results from Brian's script: ... Inserting values ... Selecting row with Marge ... Perhaps there's a bug somewhere. ...
    (perl.dbi.users)
  • Re: Expect: sending larger files with ftp-inband
    ... >> There was a bug in 5.42 related to send having problems with ... >> buffering. ... Try upgrading to 5.43. ... the script is so simple in essence - that if it's bombing ...
    (comp.lang.tcl)
  • Re: Help! WScript application error!
    ... > I found a bug in my script. ... Due to a design error, it calls Quit() ... I *suppose* that the script logic error you found could end ...
    (microsoft.public.scripting.vbscript)
  • RE: TXT or HTML? -- IE NEW BUG
    ... Subject: TXT or HTML? ... -- IE NEW BUG ... vulnerability. ... However, the script would run in the web page's domain, so it ...
    (Bugtraq)