Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

wscript not found error

13 views
Skip to first unread message

Mark Brown

unread,
Oct 26, 2009, 5:00:10 PM10/26/09
to
I'm moving vb scripts to a new box as the old box will soon be
decommissioned. On the old box, all the vb scripts work just fine. A lot
of the scripts create web pages on the fly for monitoring various things the
server is doing.

If I run these scripts from a browser on the new box (localhost/command (as
an expample)) everything works just fine.

However, if I ran the same thing from a browser on my machine, either
nothing will happen at all, or I'll get this error, depending on what script
I'm trying to run.

Microsoft VBScript runtime error '800a01f4'
Variable is undefined: 'WScript'

/status/subroutines.asp, line 87

Line 87 in this example only calls wscript.echo. It works fine when
referring to the old server. It works fine on the new server using
localhost. Any ideas on what could be the problem?

Thanks,

Mark


jonny

unread,
Nov 15, 2009, 2:31:07 AM11/15/09
to
Constants are not variables

javascript has variables
vbscript has constants
---------------------------------------

download the latest, e.g. jscript.dll from ms, version 5.8
and register ?


"Mark Brown" <mbr...@echd.org> wrote in message
news:eX9OP9nV...@TK2MSFTNGP02.phx.gbl...

Mark Brown

unread,
Jan 8, 2010, 12:12:05 PM1/8/10
to
Well, that's the error that's being returned. This exact same script works
on the old server, but gives this error on the new server.

"jonny" <jo...@what.com> wrote in message
news:emRFaWcZ...@TK2MSFTNGP04.phx.gbl...

0 new messages