473,719 Members | 2,064 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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() & " " & ScriptEngineMaj orVersion() & "."
& ScriptEngineMin orVersion()

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 2339
sp****@goatmusi c.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() & " " & ScriptEngineMaj orVersion() & "."
& ScriptEngineMin orVersion()

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****@goatmus ic.org> wrote in message
news:11******** **************@ i40g2000cwc.goo glegroups.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
13873
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
1459
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 didn't create the report, it was done by our Crystal guy with Crystal 9 (or 8), all i do is load it using .NET, which, like i said before, worked just fine. Here's the code: //i call this func from Page_Load passing in only the filename
3
7724
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 value for the UserName token. Is it possilbe at all to do this from VBScript (or jscript?)? I know I will be limited with what I can do with the SOAP message. Eg/ can't sign/encrypt it etc. Thanks,
10
4700
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", you cannot use inline JavaScript statements that call setTimeout with functions that start with a double-underscore. This is very relavant to ASPX (ASP Dot Net) pages because it means that AutoPostBacks will fail since they generally call the...
3
1517
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 and then open them in IE? 2) The following connection strings, accounts and queries work fine in vbs files but I am getting 0 results when I run them as asp. I don't know how to debug them to figure out the issue
6
4691
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 is where the application will be directly ran from. While running, the application will run a various assortment of VBScripts (also located on the file server) to which I would like the vbscripts to be able to pass data back to the currently...
2
8512
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. The plan is then to pass the information from ASP to VBScript. My dilemma is how to extract the information in ASP and use it in VBScript. (Please see code below) Iíve read in some forums that is simply canít be done. Unfortunately, I canít run...
1
2786
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 the Lost Password using for instance: me@me.com
2
2686
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 web application that my employer wanted finished by January 1st. Perhaps my biggest problem is that I canít seem to formulate the right search-engine search question to find the utility I need nor can I find any reference to the real issue. In...
0
8725
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9360
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9208
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9123
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9053
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6658
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Duprť who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5971
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3185
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2562
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.