
VBScript compilation error when moving to production server
"Hans Malherbe" wrote ...
Quote:
> We have a development and a production NT4 server both with IE4, IIS4,
SP6.
> I'm trying to move our development site to production, but get the error:
<snip>
> with recSet
<snip>
> If I remove the "with" statement in the .asp this error goes away, but I
get
> a type mismatch furthur in the code. It's almost as if there is a version
> difference in the two ASP script parsers.
It's not an _ASP_ parser that parses VBScript - it's a _VBScript_ parser!
(ASP != VBS).
It is, as you correctly assume, a version problem - the With construct was
only introduced to VBS in the latest version (5.1); it's downloadable from
http://msdn.microsoft.com/scripting/
hth hand
Adam