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

How can i know....?

....the framework installed in my web server?

I'm developing an asp.net app, but i donĀ“t know what version of the
framework is installed in the server

Nov 18 '05 #1
7 1652
Look in your windows directory. On my machine it is

c:\winnt\Microsoft.NET\Framework

It will have directories for each installed framework.

I have two directories:

v1.0.3705\
v1.1.4322\

HTH,

bill

"CarlosOrtiz" <Ca*********@discussions.microsoft.com> wrote in message
news:16**********************************@microsof t.com...
...the framework installed in my web server?

I'm developing an asp.net app, but i don“t know what version of the
framework is installed in the server

Nov 18 '05 #2
I have always been wondering..is there any way to detect if the client has
the .net framework installed and what version?

"William F. Robertson, Jr." wrote:
Look in your windows directory. On my machine it is

c:\winnt\Microsoft.NET\Framework

It will have directories for each installed framework.

I have two directories:

v1.0.3705\
v1.1.4322\

HTH,

bill

"CarlosOrtiz" <Ca*********@discussions.microsoft.com> wrote in message
news:16**********************************@microsof t.com...
...the framework installed in my web server?

I'm developing an asp.net app, but i donĀ“t know what version of the
framework is installed in the server


Nov 18 '05 #3
This might not work all the time, but it has worked for me all the time.

You can look at the Request.Header["User-Agent"].

On my machine it lists:
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)"

So you could probably just parse for the .NET CLR and find the version
number that way. I believe it only lists one of the versions that you have
installed (the primary version)

HTH,

bill

"Tampa .NET Koder" <Ta***********@discussions.microsoft.com> wrote in
message news:D3**********************************@microsof t.com...
I have always been wondering..is there any way to detect if the client has
the .net framework installed and what version?

"William F. Robertson, Jr." wrote:
Look in your windows directory. On my machine it is

c:\winnt\Microsoft.NET\Framework

It will have directories for each installed framework.

I have two directories:

v1.0.3705\
v1.1.4322\

HTH,

bill

"CarlosOrtiz" <Ca*********@discussions.microsoft.com> wrote in message
news:16**********************************@microsof t.com...
...the framework installed in my web server?

I'm developing an asp.net app, but i don“t know what version of the
framework is installed in the server


Nov 18 '05 #4
> I have always been wondering..is there any way to detect if the client has
the .net framework installed and what version?
In an ASP.Net application, this is irrelevant. No .Net platform is required
on the client.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Tampa .NET Koder" <Ta***********@discussions.microsoft.com> wrote in
message news:D3**********************************@microsof t.com... I have always been wondering..is there any way to detect if the client has
the .net framework installed and what version?

"William F. Robertson, Jr." wrote:
Look in your windows directory. On my machine it is

c:\winnt\Microsoft.NET\Framework

It will have directories for each installed framework.

I have two directories:

v1.0.3705\
v1.1.4322\

HTH,

bill

"CarlosOrtiz" <Ca*********@discussions.microsoft.com> wrote in message
news:16**********************************@microsof t.com...
...the framework installed in my web server?

I'm developing an asp.net app, but i don“t know what version of the
framework is installed in the server


Nov 18 '05 #5
There is also the Request.Browser.ClrVersion property.

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

On Wed, 1 Dec 2004 11:57:51 -0600, "William F. Robertson, Jr."
<theman_at_fdrsucks.com> wrote:
This might not work all the time, but it has worked for me all the time.

You can look at the Request.Header["User-Agent"].

On my machine it lists:
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)"

So you could probably just parse for the .NET CLR and find the version
number that way. I believe it only lists one of the versions that you have
installed (the primary version)

HTH,

bill

"Tampa .NET Koder" <Ta***********@discussions.microsoft.com> wrote in
message news:D3**********************************@microsof t.com...
I have always been wondering..is there any way to detect if the client has
the .net framework installed and what version?

"William F. Robertson, Jr." wrote:
> Look in your windows directory. On my machine it is
>
> c:\winnt\Microsoft.NET\Framework
>
> It will have directories for each installed framework.
>
> I have two directories:
>
> v1.0.3705\
> v1.1.4322\
>
> HTH,
>
> bill
>
> "CarlosOrtiz" <Ca*********@discussions.microsoft.com> wrote in message
> news:16**********************************@microsof t.com...
> > ...the framework installed in my web server?
> >
> > I'm developing an asp.net app, but i don“t know what version of the
> > framework is installed in the server
> >
> >
> >
>
>
>


Nov 18 '05 #6
I know that much. I just wanted to know if it could have been done. Maybe
when they are downloading like a winform app or someting you can inform them
that they don't have the .net framework installed. Something like what the
asp.net team used one their download page for webmatrix...it beleive I saw
this functionality there

"Kevin Spencer" wrote:
I have always been wondering..is there any way to detect if the client has
the .net framework installed and what version?


In an ASP.Net application, this is irrelevant. No .Net platform is required
on the client.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Tampa .NET Koder" <Ta***********@discussions.microsoft.com> wrote in
message news:D3**********************************@microsof t.com...
I have always been wondering..is there any way to detect if the client has
the .net framework installed and what version?

"William F. Robertson, Jr." wrote:
Look in your windows directory. On my machine it is

c:\winnt\Microsoft.NET\Framework

It will have directories for each installed framework.

I have two directories:

v1.0.3705\
v1.1.4322\

HTH,

bill

"CarlosOrtiz" <Ca*********@discussions.microsoft.com> wrote in message
news:16**********************************@microsof t.com...
> ...the framework installed in my web server?
>
> I'm developing an asp.net app, but i donĀ“t know what version of the
> framework is installed in the server
>
>
>


Nov 18 '05 #7
The problem is that i don't have access to the machine, i just have write
permission for the web directory (the wwwroot), and the Administrator is a
little.... slow :-)
"William F. Robertson, Jr." wrote:
Look in your windows directory. On my machine it is

c:\winnt\Microsoft.NET\Framework

It will have directories for each installed framework.

I have two directories:

v1.0.3705\
v1.1.4322\

HTH,

bill

"CarlosOrtiz" <Ca*********@discussions.microsoft.com> wrote in message
news:16**********************************@microsof t.com...
...the framework installed in my web server?

I'm developing an asp.net app, but i donĀ“t know what version of the
framework is installed in the server


Nov 18 '05 #8

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

Similar topics

3
by: Robert | last post by:
Python doesn't know the class of a method when container not direct class attribute: >>> class X: .... def f():pass .... g=f .... l= .... >>> X.g <unbound method X.f>
5
by: Michele | last post by:
What does the CIO need to know about Sequel Server administration?
20
by: Simon Harvey | last post by:
Festive greetings fellow programmers! I've been programming now for about 4, maybe 5 years now. 4 of those years were at university so and I havent had much work experience of making real world...
4
by: Support | last post by:
Hi, I want to know if I have changed a few records in my database using update / insert / delete methods, how can i later know which rows have been changed or modified ? I know the...
14
by: J. Makela | last post by:
Hallo. This should be a pretty entertaining question for you *real* javascript writers.. I, being the lowly photoshop guy at an ad agency made the mistake of actually saying "HTML" in a...
37
by: jht5945 | last post by:
For example I wrote a function: function Func() { // do something } we can call it like: var obj = new Func(); // call it as a constructor or var result = Func(); // call it as...
102
by: BoogieWithStu22 | last post by:
I am running into a problem with a web page I have created when viewing it in IE6 on some machines. The page has a database lookup. The user enters an account name or number and clicks a lookup...
3
markmcgookin
by: markmcgookin | last post by:
Hi Folks, I have a VB app, and I have been working at it for a while, and I am now at the stage where I want to create a search function. Now don't be scared! It is in the .Net compact framework,...
5
by: garks | last post by:
Is there any way to know the computer is connected to a router? I know using WebRequest is one of the method, but WebRequest need router's URL , username and password. I don't know those...
1
by: koyanpaing | last post by:
Hi everyone, I would like to know how can i know the value from the passing object.Here is the code example. <script> $trash.droppable({ accept: '#gallery > li', activeClass:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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,...
0
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...
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
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...

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.