Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Microsoft .NET Framework Version vs. ASP.NET Version

Reply
Thread Tools

Microsoft .NET Framework Version vs. ASP.NET Version

 
 
Shadow Lynx
Guest
Posts: n/a
 
      01-28-2006
At the bottom of the default Error page that appears when Unhandled
Exceptions occur, what exactly is the difference between the "Microsoft
..Net Framework Version" and the "ASP.NET Version"?

I understand that the ASP.Net version is the version of ASP.Net that
the current site is running under and it can be retreived with
System.Environment.Version.ToString.

What exactly is the Microsoft .NET Framework Version that is displayed?
It is NOT the highest version of the framework installed, because I
have 2.x and just got the following at the bottom of a 1.x error page:
Microsoft .NET Framework Version:1.1.4322.2048; ASP.NET
Version:1.1.4322.2032. Note that the version numbers are just slightly
different (while my 2.x pages return the same 2.x version numbers.)

How can this number (whatever it refers to) be programmatically
retreived? I've been searching newsgroups and MSDN for quite a while
and no one seems to know the answer (the code above is often
incorrectly referred to as being the way to get it, but it only returns
the running ASP.NET version.) Since it and the ASP.Net version can
differ on the same page, this MUST be come from a different version
number than System.Environment.Version.

 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      01-28-2006
Hi,

it is basically the ISAPI version e.g version of the aspnet_isapi.dll.

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke


"Shadow Lynx" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> At the bottom of the default Error page that appears when Unhandled
> Exceptions occur, what exactly is the difference between the "Microsoft
> .Net Framework Version" and the "ASP.NET Version"?
>
> I understand that the ASP.Net version is the version of ASP.Net that
> the current site is running under and it can be retreived with
> System.Environment.Version.ToString.
>
> What exactly is the Microsoft .NET Framework Version that is displayed?
> It is NOT the highest version of the framework installed, because I
> have 2.x and just got the following at the bottom of a 1.x error page:
> Microsoft .NET Framework Version:1.1.4322.2048; ASP.NET
> Version:1.1.4322.2032. Note that the version numbers are just slightly
> different (while my 2.x pages return the same 2.x version numbers.)
>
> How can this number (whatever it refers to) be programmatically
> retreived? I've been searching newsgroups and MSDN for quite a while
> and no one seems to know the answer (the code above is often
> incorrectly referred to as being the way to get it, but it only returns
> the running ASP.NET version.) Since it and the ASP.Net version can
> differ on the same page, this MUST be come from a different version
> number than System.Environment.Version.
>



 
Reply With Quote
 
 
 
 
Juan T. Llibre
Guest
Posts: n/a
 
      01-28-2006
re:
> It is NOT the highest version of the framework installed


No, it is not.
It's the version of the .Net Framework targeted by your application.

You can set the .Net Framework targeted in the Internet Service Manager
( the IIS MMC ), in the ASP.NET tab.

re:
> have 2.x and just got the following at the bottom of a 1.x error page:
> Microsoft .NET Framework Version:1.1.4322.2048; ASP.NET
> Version:1.1.4322.2032.


You must have uninstalled incorrectly version 1.1.4322.2032.
You cannot have two versions of the same major .Net release running simultaneously.

Check your .Net Framework 1.1 directory ( \windows\.microsoft.net\framework\v1.1.4322 )
and you'll see that you only have one directory for 1.1

You can also check by running aspnet_regiis -lv in a command window from that
same directory. That will list all the .Net Framework versions registered in your machine.

I doubt if that will return 2 versions of the .Net Framework 1.1 as registered.

The .Net Framework supports side-by-side, but only between different major versions.
i.e., 1.1 will run side-by-side with 2.0, but cannot run side-by-side with another 1.1 version.

You could, maybe, fix it by running aspnet_regiis -u in a command window,
from the .Net Framework 1.1 directory, followed by running aspnet_regiis -i
from the same directory.

re:
> How can this number (whatever it refers to) be programmatically retreived?


The same way you indicated ( System.Environment.Version.ToString )

re:
> Since it and the ASP.Net version can differ on the same page, this MUST be
> come from a different version number than System.Environment.Version.


No. That's what happens when you use archaic beta versions.

You should upgrade your 1.1 .Net Framework to the release version, apply the
..Net Framework SP1 to it and apply the Security update for 1.1 after that.

Get the release version here :
http://www.microsoft.com/downloads/d...displaylang=en

Get Service Pack 1 here :
http://www.microsoft.com/downloads/d...displaylang=en

Get the Security Update here :
http://www.microsoft.com/downloads/d...displaylang=en





Juan T. Llibre
ASP.NET MVP
ASPNETFAQ.COM : http://www.aspnetfaq.com
==================================
"Shadow Lynx" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> At the bottom of the default Error page that appears when Unhandled
> Exceptions occur, what exactly is the difference between the "Microsoft
> .Net Framework Version" and the "ASP.NET Version"?
>
> I understand that the ASP.Net version is the version of ASP.Net that
> the current site is running under and it can be retreived with
> System.Environment.Version.ToString.
>
> What exactly is the Microsoft .NET Framework Version that is displayed?
> It is NOT the highest version of the framework installed, because I
> have 2.x and just got the following at the bottom of a 1.x error page:
> Microsoft .NET Framework Version:1.1.4322.2048; ASP.NET
> Version:1.1.4322.2032. Note that the version numbers are just slightly
> different (while my 2.x pages return the same 2.x version numbers.)
>
> How can this number (whatever it refers to) be programmatically
> retreived? I've been searching newsgroups and MSDN for quite a while
> and no one seems to know the answer (the code above is often
> incorrectly referred to as being the way to get it, but it only returns
> the running ASP.NET version.) Since it and the ASP.Net version can
> differ on the same page, this MUST be come from a different version
> number than System.Environment.Version.
>



 
Reply With Quote
 
Shadow Lynx
Guest
Posts: n/a
 
      01-30-2006
Thanks to both of you. That takes care of question #1 (I think.) Now
I just need an answer to #2: How can this number (whatever it refers
to) be programmatically retreived? I've built my own version of the
standard .Net error page and want to include it (so goofy setups like
mine can be detected while still using my custom error page.)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] ASP .Net 5 02-09-2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? PA Bear [MS MVP] ASP .Net 0 02-05-2008 03:28 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green ASP .Net 0 02-05-2008 02:45 AM
microsoft.public.certification, microsoft.public.cert.exam.mcsa, microsoft.public.cert.exam.mcad, microsoft.public.cert.exam.mcse, microsoft.public.cert.exam.mcsd realexxams@yahoo.com Microsoft Certification 0 05-10-2006 02:35 PM
microsoft.public.dotnet.faqs,microsoft.public.dotnet.framework,microsoft.public.dotnet.framework.windowsforms,microsoft.public.dotnet.general,microsoft.public.dotnet.languages.vb Charles A. Lackman ASP .Net 1 12-08-2004 07:08 PM



Advertisments