User login

MetaTraffic 2.0 Boxshot

script error

Posted by tiger [July 12, 2003]

Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method: 'Server.Execute'

/globalinc/site_theme.asp, line 6

When I switched the Server.Execute to the #include virtual I get the following:

Microsoft VBScript compilation error '800a0400'

Expected statement

/../killingthesite/metatraffic/track.asp, line 20

Option Explicit
^

It works fine using localhost on my machine but not online on my host server.

Any tips would be good

http://www.killingfields.net

script error

quote:Originally posted by tiger
Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method: 'Server.Execute'

/globalinc/site_theme.asp, line 6

When I switched the Server.Execute to the #include virtual I get the following:

Microsoft VBScript compilation error '800a0400'

Expected statement

/../killingthesite/metatraffic/track.asp, line 20

Option Explicit
^

It works fine using localhost on my machine but not online on my host server.

Any tips would be good

http://www.killingfields.net

First thing first, the file you modified, "site_theme.asp", is not part of MetaTraffic, so this is a different animal.

If you're switching from "Server.Execute" to the "#include" approach, I'm under the belief that your site is hosted on an IIS 4 server, right ?

The "Server.Execute" command is working on IIS5 and up, but I personally don't recall seeing it in the distributed MetaTraffic scripts. I'm saying this simply because I tested MT on a site hosted on IIS4, and it works fine.

With IIS4, there seem to be quite a few limitations, one of which being the "Option Explicit" statement. With some tests I conducted, it appears to work only on the "main" file, but not in the "included" ones. Perhaps I missed something, so if this is the case, please don't hesitate to correct me. (In a friendly way please...[:p])

Ok, so you don't really need the "Option Explicit" statement to have the script working. It mainly ensure that all the variables are defined, that's all. Commenting it out will not do any harm.

By the way, when I attempted to get to the metatraffic portion of your site, I got the following error message :

==============================================
Microsoft JET Database Engine error '80004005'

'I:\SHAGGYCAT\KILLINGFIELDS\KFNv2\killingthesite\metatraffic\KFNtraffic.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides
=============================================

Obviously, there will be some corrections needed to your path specifications in your scripts before getting the thing working.

Finally, just to ease the overall process, don't forget to mention which version of MetaTraffic you're using, as there are quite a few in circulation these days and there are substantial modifications from one to another, rendering the line numbers unreliable if you're not specifying the version you're using when asking for support.

Have fun.

script error

Hi,

You need to comment out the Option Explicit line in the track.asp file by putting a single quote in front like this:

<% 'Option Explicit %>

Regards,
~Chad

script error

version: MetaTraffic v1.3 beta

I think you are right re: the host using IIS 4.0, I've emailed them to find out what they are running. Had a simular issue with them using an older version of ASPUpload.

Re: invalid mdb path error. :oops: Oops my bad, need to update the config file, it must still be set up for localhost. - thank you for the heads up on that.

I've used the #include virtual method, fixed the db path & commented out the Option Explicit in the track.asp file.
New error:

Microsoft VBScript compilation error '800a03ea'

Syntax error

/killingthesite/metatraffic/class.asp, line 20

Class clsMetaTraffic
^

Sorry to be a pain :oops:

Cheers
T!G3R

http://www.killingfields.net

script error

Looks like your web server is running an older version of VBScript that doesn't support the functionality required for MetaTraffic to work. I am guessing that your web host is going to tell you that they are running IIS 4.

Regards,
~Chad

script error

quote:Originally posted by cdegroot
Looks like your web server is running an older version of VBScript that doesn't support the functionality required for MetaTraffic to work. I am guessing that your web host is going to tell you that they are running IIS 4.

Regards,
~Chad

Chad,

I'm suspecting more an old version of the VBScript engine than IIS4.

Since Server.Execute needed to be removed or somehow "cloned", it is obvious that the site is on an IIS4 server. This command is availabled only with IIS5 and up.

I personnally run MT on an IIS4 server, without problems.

The VBScript is more likely the culprit here.

There are some scripts on the net which will report the version of VBScript installed on the server.

Perhaps something like that should be part of the distribution package thus allowing to check if the server where the site is hosted is in fact meeting the pre-requisites, before uploading the whole set of files for nothing.

If VBScipt is at the proper version/release, it should work, even on IIS4. As far as I recall, I didn't see anything specific to IIS5 in your scripts, however if I overlooked, please let me know.

Regards.

script error

Thanks guys. I'm still trying to get a reply from host. I will ask them updating VBScript. Shame, I really like your programme.:(

If you know of any decent ASP host that can match the $7.95USD a yr I am currently with I'd love to hear about them. I know you get what you pay for, but my site dose not generate an income, so price is a factor I'm afraid.
Thanks again for the help.

http://www.killingfields.net