These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Microsoft VBScript compilation error '800a0400'

Hello - I keep getting ......

Microsoft VBScript compilation error '800a0400' 

Expected statement 

./plugins/file transfer/WexGeneric.asp, line 161 

End Class 

I have edited the code becuase my server does not allow you to use server.abspath.  I got round this by changing

RealizePath=server.abspath......

to

RealizePath = "/home/sites/www.mydomainname.co.uk/web/photos"


This worked fine on my test server that I have control of but doesnt work on uploading it to my webspace where I dont have any control over the servers settings

Any ideas guys and gals

Most appreciated 
Mark Stone 5/16/2003 1:05 PM
This error means that you have an outdated VB scripting engine installed on your server which doesn't recognize "Class" structure. Please take a look at product's page, in requirements section, you will find a link to the updated scripting engine.

Regarding your second question, the correct function is server.mappath not server.abspath. You should set RealizePath to a complete physical path like:
RealizePath = "c:\home\sites\www.mydomainname.co.uk\web\photos"
Cem Alacayir 5/28/2003 5:30 PM
I have the same problem, but I have no controle over the server, and cannot just install newer VB

Is there a way to bypass this error message, and get it to work anyway?

BTW: my server in running ChiliASP 
Fluii 6/9/2003 5:14 PM
Sorry, this is a compilation error so you can't bypass this error message. You should request an update for ChiliASP supporting classes from your host.
Cem Alacayir 6/15/2003 5:30 PM