VBScript compilation error when moving to production server 
Author Message
 VBScript compilation error when moving to production server

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:

[begin]
Microsoft VBScript compilation error '800a0400'

Expected statement

/commercial_asp/r_aanteken.asp, line 49

with recSet
^
[end]

I've verified that the "Option Pack" component "Windows Scripting Host" is
installed on both.
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.
Suggestions are welcome.



Tue, 10 Dec 2002 03:00:00 GMT  
 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



Tue, 10 Dec 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Dynamic production of VBScript - Server-side

2. vbscript compilation error 800a03ea connection to SQL using asp

3. HELP! vbscript compilation error

4. VBScript Compilation Error - HELP!

5. Moving a VB.Net Web app to production

6. Moving report to production?

7. Microsoft VBScript compilation error '800a0400'

8. Microsoft VBScript compilation error '800a03ea'

9. Microsoft VBScript compilation error '800a0400'

10. Need Help with Microsoft VBScript compilation error

11. Microsoft VBScript compilation error '800a0401'

12. Microsoft VBScript compilation error '800a03e9'

 

 
Powered by phpBB® Forum Software