473,320 Members | 2,202 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,320 software developers and data experts.

Checking version of ASP.NET on IIS

How would I check to see which version of ASP.NET my IIS is running. And how
would I change it?

On one machine, I am running XP and the IIS was running ASP.NET 2.0. My app
was written using 1.1 and when I started VS.NET, I got an error saying that
my webserver was running a different version than 1.1. I was able to find
the version and change it in the IIS. But I also am doing some work in
Windows 2000 and I cannot find where I can check the ASP.NET version and
don't know how to change it. Can anyone help?

Thanks
Harry
Nov 18 '05 #1
3 1921
The installed version on win2K will typically be under the winnt directory
in the microsoft.net area. To change a server to use a different version
than the current version you should run the aspnet_regiss.exe within that
version.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP

"harry" <NO*****************@hotmail.com> wrote in message
news:#o*************@TK2MSFTNGP12.phx.gbl...
How would I check to see which version of ASP.NET my IIS is running. And how would I change it?

On one machine, I am running XP and the IIS was running ASP.NET 2.0. My app was written using 1.1 and when I started VS.NET, I got an error saying that my webserver was running a different version than 1.1. I was able to find
the version and change it in the IIS. But I also am doing some work in
Windows 2000 and I cannot find where I can check the ASP.NET version and
don't know how to change it. Can anyone help?

Thanks
Harry

Nov 18 '05 #2
Each application could be configured to a different version.

Dennis Bauer has a nifty utility to check and set the versions:

http://www.denisbauer.com/NETTools/A...nSwitcher.aspx

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 12 Oct 2004 15:20:48 -0400, "harry"
<NO*****************@hotmail.com> wrote:
How would I check to see which version of ASP.NET my IIS is running. And how
would I change it?

On one machine, I am running XP and the IIS was running ASP.NET 2.0. My app
was written using 1.1 and when I started VS.NET, I got an error saying that
my webserver was running a different version than 1.1. I was able to find
the version and change it in the IIS. But I also am doing some work in
Windows 2000 and I cannot find where I can check the ASP.NET version and
don't know how to change it. Can anyone help?

Thanks
Harry


Nov 18 '05 #3
"harry" <NO*****************@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
How would I check to see which version of ASP.NET my IIS is running.


switch(System.Environment.Version.ToString())
{
case "1.0.3705.000" :
{
Response.Write(" (.NET 1.0)");
break;
}
case "1.0.3705.209" :
{
Response.Write(" (.NET 1.0 SP1)");
break;
}
case "1.0.3705.288" :
{
Response.Write(" (.NET 1.0 SP2)");
break;
}
case "1.0.3705.6018" :
{
Response.Write(" (.NET 1.0 SP3)");
break;
}
case "1.1.4322.573" :
{
Response.Write(" (.NET 1.1)");
break;
}
case "1.1.4322.2032" :
{
Response.Write(" (.NET 1.1 SP1)");
break;
}
}

Nov 18 '05 #4

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

Similar topics

8
by: Dave Robinson | last post by:
I was wondering if anyone could help me with a problem I'm having. I've been using Dreamweaver to create a hotel booking system for a friend of mine, using MySQL (version 4.0.21) and PHP 5. The...
0
by: Ville Mattila | last post by:
Hello readers, I'm trying to install the latest PHP4 version from the scratch. The configure string is following: ../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-curl...
4
by: GujuBoy | last post by:
i want to check to see if a certain program is installed on my windows box using python. how can i do that...(ie, i want to see if "word" is installed) please help
5
by: William Payne | last post by:
Hello, I am in the process of converting a C++ program to a C program. The user of the program is supposed to supply an integer on the command line and in the C++ version of the program I was using...
7
by: HIK | last post by:
Click once can be set up to pole the setup url if there is a newer version or not. I have a project which can only be deployed using a setup project. How can I create the same feature in my setup...
4
by: Patient Guy | last post by:
Does anyone have any coding rules they follow when doing argument checking? When arguments fail during check, do you return from the call with an ambiguous return value, or do you throw...
16
by: lawrence k | last post by:
I've made it habit to check all returns in my code, and usually, on most projects, I'll have an error function that reports error messages to some central location. I recently worked on a project...
1
by: halcyon943 | last post by:
have 4 folders that I watch and need to move files from to another location. Three constraints: -Finish time. Make sure the program stops transferring files at a specific time -Number of...
125
by: jacob navia | last post by:
We hear very often in this discussion group that bounds checking, or safety tests are too expensive to be used in C. Several researchers of UCSD have published an interesting paper about this...
1
by: imageguy | last post by:
We are trying to implement a system that checks the version of the application against a version number stored in the database. We don't want the app and the db don't become out of sync. We...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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...
0
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: 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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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.