.NETGURU
Confused about VBScript and ASP code running on Windows Server 2003 .Net
Messages   Related Types
This message was discovered on microsoft.public.dotnet.languages.vb.upgrade.

Post a new message to this list...

JJA
I am really confused about how "regular, old, classic" .ASP files
written with server side VBScript code are supported in the new
environment of .Net running on Windows Server 2003.

I am trying to get a large site of .ASP files running without
conversion to ASP.Net user controls and in general, minimal
modification.

I was making some progress and I thought I understood that ASP was
supported within the new environment. Then I got:

VBScript runtime error '800a0005'
Invalid procedure call or argument 'Left'

This fails on an assignment statement that uses the VBScript Left
function. Then I found some notes somewhere that describes how Left
and many other functions are "not supported" and have VB.Net
equivalents.

So I am confused. Previous guidance suggested I could run .ASP files
with VBScript in .NET. I took this to mean that VBScript would behave
like it does under IIS 4.0 (for example, run time interpreted code,
etc.)

Now it is starting to dawn on me that even though it looks like
VBScript and resides within a file whose extension is .ASP not .ASPX,
it is not really VBScript but rather VB.Net. I am deducing this
because the Left function is disallowed.

In short, is there any way to postpone all the wonders of ASP.Net and
VB.Net and get an ASP-based site written in VBScript to work without
conversion (in this case, the Left function but I know I'll run into
more things like this as I continue testing).
Reply to this message...
 
    
SStory
Hmm... Does the site have the appropriate ASP ISAPI filter and set to treat
ASP as ASP files?

I was also under the understanding that you could do either.
my first guess is that the ASP file my be being treated as ASP.NET or
something I don't know.... Must be something like that. what you want is
that the old ASP interpreter/parser or whatever is doing the decoding and
not .NET.

I don't know if it isn't something like this.

Shane

"JJA" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification