473,325 Members | 2,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

ASP/VBScript engine query

I've been working on an ASP driven website, on a client's web hosting
space. One of the project requirements was the ability for the client
to be able to upload files through an HTTP form. No problem - I'd done
plenty of that sort of thing before, but, to cut a long story short, my
usual (component-less) upload scripts generated a multitude of errors
I'd never seen before, and a number of other component-less scripts I
tried to use all failed in perplexing ways.

So, after reading up a bit on probable causes, I found some advice
suggesting that I should try and determine the version of the script
engine running on the server, hence running this script:

Response.Write ScriptEngine() & " " & ScriptEngineMajorVersion() & "."
& ScriptEngineMinorVersion()

The result?: VBScript 3.0

Now, here's where I'm a little confused. Does that number refer to the
vbscript engine version (which, if it does, it is WAAAY out of date!)?
Or the ASP version (which is normal - 3.0, right?)

I'm inclined to think that the 3.0 probably refers to the version of
ASP, because there's no way a professional service provider would be
running such an old release of vbscript (is there?). If I'm not
mistaken it's up to v5.7 or something, isn't it?

Second question: if this does imply that they're running a version of
VBScript that, as far as I can tell, was superceded about a decade ago,
is there any hope for scripting a component-less HTTP upload solution,
or shall I convince the client to get the hosting moved somewhere else
super-quick?!

Thanks very much in advance for any help,

- K

Jun 8 '06 #1
4 2314
sp****@goatmusic.org wrote:
I've been working on an ASP driven website, on a client's web hosting
space. One of the project requirements was the ability for the client
to be able to upload files through an HTTP form. No problem - I'd done
plenty of that sort of thing before, but, to cut a long story short,
my usual (component-less) upload scripts generated a multitude of
errors I'd never seen before, and a number of other component-less
scripts I tried to use all failed in perplexing ways.

So, after reading up a bit on probable causes, I found some advice
suggesting that I should try and determine the version of the script
engine running on the server, hence running this script:

Response.Write ScriptEngine() & " " & ScriptEngineMajorVersion() & "."
& ScriptEngineMinorVersion()

The result?: VBScript 3.0

Now, here's where I'm a little confused. Does that number refer to the
vbscript engine version (which, if it does, it is WAAAY out of date!)?
Yes
Or the ASP version
No

I'm inclined to think that the 3.0 probably refers to the version of
ASP, because there's no way a professional service provider would be
running such an old release of vbscript (is there?).
It appears so ...
If I'm not
mistaken it's up to v5.7 or something, isn't it?
5.6

Second question: if this does imply that they're running a version of
VBScript that, as far as I can tell, was superceded about a decade
ago, is there any hope for scripting a component-less HTTP upload
solution, or shall I convince the client to get the hosting moved
somewhere else super-quick?!
Why only these two options? Couldn't you request the provider to
upgrade?

Not having seen your code, I'm not sure what vbscript has to do with the
uploading, but nothing beats testing this on a server that has a higher
version installed ...

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jun 8 '06 #2
Bob Barrows [MVP] wrote:
I'm inclined to think that the 3.0 probably refers to the version of
ASP, because there's no way a professional service provider would be
running such an old release of vbscript (is there?).
It appears so ...


Wow, okay - thank you for confirming that.
Second question: if this does imply that they're running a version of
VBScript that, as far as I can tell, was superceded about a decade
ago, is there any hope for scripting a component-less HTTP upload
solution, or shall I convince the client to get the hosting moved
somewhere else super-quick?!


Why only these two options? Couldn't you request the provider to
upgrade?


Apologies - I forgot to mention that I did send the provider a message
asking if it was the case that they were running VBScript 3.0, then
could they upgrade to a more recent version. Their response was "it is
not possible to upgrade the VBScripts to a newer version", which is
what prompted me to post here to double-check whether I had all my
facts straight before I went back to the client.

This is supposed to be the provider's premium package as well, and I'm
pretty sure it's not particularly reasonable to boast top-of-the-range
ASP-enabled hosting solutions if they're still running off a hideously
outdated VBScript provider.
Not having seen your code, I'm not sure what vbscript has to do with the
uploading, but nothing beats testing this on a server that has a higher
version installed ...


You're right of course - and I have actually done this. These scripts
work quite happily on another client's provider, which is running
VBScript 5.6. However on this current client's provider, they throw up
all kinds of errors on lines concerning classes, which I understand are
not supported by VBScript 3.

Thank you very much for your help.

- K

Jun 8 '06 #3
Kamineko wrote:
Apologies - I forgot to mention that I did send the provider a message
asking if it was the case that they were running VBScript 3.0, then
could they upgrade to a more recent version. Their response was "it is
not possible to upgrade the VBScripts to a newer version",
Did they give a reason? it's a ridiculous statement ...
which is
what prompted me to post here to double-check whether I had all my
facts straight before I went back to the client.

This is supposed to be the provider's premium package as well, and I'm
pretty sure it's not particularly reasonable to boast top-of-the-range
ASP-enabled hosting solutions if they're still running off a hideously
outdated VBScript provider.
Not having seen your code, I'm not sure what vbscript has to do with
the uploading, but nothing beats testing this on a server that has a
higher version installed ...


You're right of course - and I have actually done this. These scripts
work quite happily on another client's provider, which is running
VBScript 5.6. However on this current client's provider, they throw up
all kinds of errors on lines concerning classes, which I understand
are not supported by VBScript 3.

Ahhh! That explains it.
That presents another option: rewrite your scripts without using classes
....

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jun 8 '06 #4
they are full of shit.. its a 2 second install and safe as could be
change to host that knows what the hell they are doing
"Kamineko" <sp****@goatmusic.org> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
Bob Barrows [MVP] wrote:
> I'm inclined to think that the 3.0 probably refers to the version of
> ASP, because there's no way a professional service provider would be
> running such an old release of vbscript (is there?).


It appears so ...


Wow, okay - thank you for confirming that.
> Second question: if this does imply that they're running a version of
> VBScript that, as far as I can tell, was superceded about a decade
> ago, is there any hope for scripting a component-less HTTP upload
> solution, or shall I convince the client to get the hosting moved
> somewhere else super-quick?!


Why only these two options? Couldn't you request the provider to
upgrade?


Apologies - I forgot to mention that I did send the provider a message
asking if it was the case that they were running VBScript 3.0, then
could they upgrade to a more recent version. Their response was "it is
not possible to upgrade the VBScripts to a newer version", which is
what prompted me to post here to double-check whether I had all my
facts straight before I went back to the client.

This is supposed to be the provider's premium package as well, and I'm
pretty sure it's not particularly reasonable to boast top-of-the-range
ASP-enabled hosting solutions if they're still running off a hideously
outdated VBScript provider.
Not having seen your code, I'm not sure what vbscript has to do with the
uploading, but nothing beats testing this on a server that has a higher
version installed ...


You're right of course - and I have actually done this. These scripts
work quite happily on another client's provider, which is running
VBScript 5.6. However on this current client's provider, they throw up
all kinds of errors on lines concerning classes, which I understand are
not supported by VBScript 3.

Thank you very much for your help.

- K

Jun 8 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Daniel Reber | last post by:
I have a VB application that I am staring to convert. One thing that I need to do is execute VbScript. Can c# do this? Thanks Dan Reber Datamasters, Inc
0
by: raf_z | last post by:
Hi, I think i'm doing something simple, although i may be wrong. I was able to load a Crystal report file up until today, and even now, its only 1 report that's misbehaving. I'll confess that i...
3
by: Sydney | last post by:
Hi, I am trying to construct a WSE 2.0 security SOAP request in VBScript on an HTML page to send off to a webservice. I think I've almost got it but I'm having an issue generating the nonce...
10
by: Shadow Lynx | last post by:
That subject packs a whallop, so let me explain in better detail what's happening and how it relates to ASPX pages... In a nutshell, if the first <script /on a page is of type "text/vbscript",...
3
by: masg0013 | last post by:
I have a few vbscripts that I want to convert to asp pages so I can use html to format the data better. 1). Do asp pages have to be run from an IIS server or can I just create them locally...
6
by: ShieldsJared | last post by:
Hello all, I've been working on an application for a while now and have now come to a standstill. I have an application that I intend to have stored on a file server (developed in C#), which...
2
by: moodyman13 | last post by:
Hi All, I’m in a bit of pickle with ASP and VBscript variable and hope someone could get me some advice. There’s a FORM’ I’ve created in ASP and its purpose is to capture the name(s) of users....
1
by: Concheso | last post by:
Hi there! I just created a login page. 1/3 of the login works fine, but some like "Lost Password" of "Admin access to add users" are not working. Any help will be great! The erros: On...
2
by: TroutmansRegistrar | last post by:
I have a web programming task that has me stumped. I hope that one of you could give me some insight or might know someone who could guide me in the right direction. This is the final piece of the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.