473,395 Members | 1,581 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,395 software developers and data experts.

Which ASP version the server is running?

joe
Is there a code snippet (in an .asp page) that would tell which version of ASP
the server is running.

I got the info from the web hotel that their Windows server has ASP/.NET
capability. After some test it appears that "classic" is only supported. I'm a
bit confused what kind of code I should write in order to get better
compatibility across different platforms and ASP version.
Apr 15 '06 #1
2 1429
Hello Joe,

Call Response.Write(System.Environment.Version.ToString () ); from your code

J> Is there a code snippet (in an .asp page) that would tell which
J> version of ASP the server is running.
J>
J> I got the info from the web hotel that their Windows server has
J> ASP/.NET capability. After some test it appears that "classic" is
J> only supported. I'm a bit confused what kind of code I should write
J> in order to get better compatibility across different platforms and
J> ASP version.
J>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Apr 15 '06 #2
joe
Michael Nemtsev <ne*****@msn.com> wrote:
Hello Joe,

Call Response.Write(System.Environment.Version.ToString () ); from your code

J> Is there a code snippet (in an .asp page) that would tell which
J> version of ASP the server is running.
J>
J> I got the info from the web hotel that their Windows server has
J> ASP/.NET capability. After some test it appears that "classic" is
J> only supported. I'm a bit confused what kind of code I should write
J> in order to get better compatibility across different platforms and
J> ASP version.
J>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Thanks!

I do get an error:
"Microsoft JScript runtime error '800a1391'
'System' is undefined
/test/Helloworld.asp, Line 5"

From:
<%@ Language="javascript" %>
<html><body><form>
<h3>Hello world!!! This is an ASP page.</h3>
<% Response.Write("as part of an execution block");%>
<%Response.Write(System.Environment.Version.ToStri ng())%>;
</form>
</body></html>
Apr 15 '06 #3

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

Similar topics

3
by: MT | last post by:
Hello Everyone: I am running XP Pro with IIS 5.1. Which is the best PHP version to install: CGI, CLI or ISAPI?? The installation manual lists all three but does not say which is most...
10
by: ThunderMusic | last post by:
Hi, How can I get if the Windows running is a server version? Is there a property somewhere that can tell me if the Windows version is a server edition (including server, advanced server, web...
7
by: | last post by:
As a beginner which .NET sdk should I be downloading from the MS site: http://msdn.microsoft.com/library/default.asp?url=/downloads/list/netdevgeneral.asp My goal is to: 1. Compile some very...
2
by: Kevin R | last post by:
I'm trying to get asp.net 1.1 running on my home PC. When I try creating a new ASP.NET Web Application in 'Visual Studio .NET 2003' I get the following error: "Visual Studio .NET has detected...
2
by: Hongbo | last post by:
Hi, I have a web site built in ASP.Net 1.1 running on production server. It's the version 1.0. Now I need to build the version 2.0 for this web site. The version 2.0 will be built based on the...
4
by: Thomas Eichner | last post by:
Hi, does anybody know a public website which offers a service that displays all data send by a browser (or an app calling the website), especially HTTP GET and POST data, browser data etc.? I...
29
by: =?Utf-8?B?SGVybWF3aWg=?= | last post by:
Hello, Please anybody help me. I have only a little experience with web development. I created simple project using ASP NET 2.0 (VS 2005) It works fine on local computer. When I tried to run...
3
by: Jim Richards | last post by:
When I print out the Help files for an error, it says: "1. Make sure that the Web server computer is running a server version of Windows 2000, Windows XP, or Windows Server 2003. At this point,...
84
by: Patient Guy | last post by:
Which is the better approach in working with Javascript? 1. Server side processing: Web server gets form input, runs it into the Javascript module, and PHP collects the output for document prep....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.