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

.net framework 2.0 install

will the install of .net framework 2.0 on a system with IIS installed
automaticaly register asp.net with IIS ?
thanks
Oct 12 '06 #1
16 1911
It should. If not, run aspnet_regiis /i

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"chaz" <ch**@newsgroup.nospamwrote in message
news:13**********************************@microsof t.com...
will the install of .net framework 2.0 on a system with IIS installed
automaticaly register asp.net with IIS ?
thanks

Oct 12 '06 #2

chaz wrote:
will the install of .net framework 2.0 on a system with IIS installed
automaticaly register asp.net with IIS ?
Just watch out if that server already had asp.net 1.1 installed. An
install of 2.0 won't upgrade existing apps to use 2.0 - you have to do
that in the new IIS property page.

Oct 12 '06 #3
I may be wrong, but I thought the default was all 1.1 applications will be
upgraded to run under .net 2.0. There is a /noaspupgrade flag you can use
to prevent this.

Further searching seems to indicate that managed applications will stick
to 1.1. However, unmanaged applications calling 1.1 may get upgraded to
call 2.0, but I'm not sure if /noaspupgrade will prevent this.

http://blogs.digineer.com/blogs/tabr.../12/09/15.aspx

On Thu, 12 Oct 2006 14:39:08 +0200, Eric <en*********@yahoo.comwrote:
>
chaz wrote:
>will the install of .net framework 2.0 on a system with IIS installed
automaticaly register asp.net with IIS ?

Just watch out if that server already had asp.net 1.1 installed. An
install of 2.0 won't upgrade existing apps to use 2.0 - you have to do
that in the new IIS property page.


--
Happy Coding!
Morten Wennevik [C# MVP]
Oct 12 '06 #4
Yes.

--
I hope this helps,
Steve C. Orr
MCSD, MVP, CSM
http://SteveOrr.net
"chaz" <ch**@newsgroup.nospamwrote in message
news:13**********************************@microsof t.com...
will the install of .net framework 2.0 on a system with IIS installed
automaticaly register asp.net with IIS ?
thanks

Oct 12 '06 #5
Thanks , now to figure out why it didn't ...:-(

"Steve C. Orr [MVP, MCSD]" wrote:
Yes.

--
I hope this helps,
Steve C. Orr
MCSD, MVP, CSM
http://SteveOrr.net
"chaz" <ch**@newsgroup.nospamwrote in message
news:13**********************************@microsof t.com...
will the install of .net framework 2.0 on a system with IIS installed
automaticaly register asp.net with IIS ?
thanks


Oct 18 '06 #6
Hi,

When you mean "asp.net didn't install correctly to IIS when installing .NET
2.0 framework", do you mean that the asp.net related Application Mappings
are not registered in IIS?

You can use the section titled "Verify That ASP.NET Handles the Request" in
following KB to verify this:

#HOW TO: Troubleshoot ASP.NET Web Applications
http://support.microsoft.com/kb/815166/EN-US/

Some other resources that might be useful for your troubleshooting:

#Troubleshooting an ASP.NET Installation (IIS 6.0)
http://www.microsoft.com/technet/pro.../Library/IIS/1
87d0e2c-8e89-49ad-a89d-e26e4d76ee68.mspx?mfr=true

#Aaron Stebner's WebLog : Unified .NET Framework Troubleshooting Guide
http://blogs.msdn.com/astebner/articles/454956.aspx

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 18 '06 #7
no, I mean that it didn't register . What can be checked to determine if
asp.net is registered?
thanks
"Walter Wang [MSFT]" wrote:
Hi,

When you mean "asp.net didn't install correctly to IIS when installing .NET
2.0 framework", do you mean that the asp.net related Application Mappings
are not registered in IIS?

You can use the section titled "Verify That ASP.NET Handles the Request" in
following KB to verify this:

#HOW TO: Troubleshoot ASP.NET Web Applications
http://support.microsoft.com/kb/815166/EN-US/

Some other resources that might be useful for your troubleshooting:

#Troubleshooting an ASP.NET Installation (IIS 6.0)
http://www.microsoft.com/technet/pro.../Library/IIS/1
87d0e2c-8e89-49ad-a89d-e26e4d76ee68.mspx?mfr=true

#Aaron Stebner's WebLog : Unified .NET Framework Troubleshooting Guide
http://blogs.msdn.com/astebner/articles/454956.aspx

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 20 '06 #8

chaz wrote:
no, I mean that it didn't register . What can be checked to determine if
asp.net is registered?
asp.net 2.0 gives you a new tab on the IIS applet called "ASP.NET".
Look at the properties on your web site.

Oct 20 '06 #9
re:
What can be checked to determine if asp.net is registered?

Run amy aspx page. If it runs, asp.net is registered with IIS.
If it doesn't, it isn't registered.

If it isn't registered, you can register it by running

aspnet_regiis -i

from a command window in the appropiate .Net Framework directory.

Drive:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 for .Net 1.1
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 for .Net 2.0


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"chaz" <ch**@newsgroup.nospamwrote in message
news:0C**********************************@microsof t.com...
no, I mean that it didn't register . What can be checked to determine if
asp.net is registered?
thanks
"Walter Wang [MSFT]" wrote:
>Hi,

When you mean "asp.net didn't install correctly to IIS when installing .NET
2.0 framework", do you mean that the asp.net related Application Mappings
are not registered in IIS?

You can use the section titled "Verify That ASP.NET Handles the Request" in
following KB to verify this:

#HOW TO: Troubleshoot ASP.NET Web Applications
http://support.microsoft.com/kb/815166/EN-US/

Some other resources that might be useful for your troubleshooting:

#Troubleshooting an ASP.NET Installation (IIS 6.0)
http://www.microsoft.com/technet/pro.../Library/IIS/1
87d0e2c-8e89-49ad-a89d-e26e4d76ee68.mspx?mfr=true

#Aaron Stebner's WebLog : Unified .NET Framework Troubleshooting Guide
http://blogs.msdn.com/astebner/articles/454956.aspx

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

================================================= =
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
================================================= =

This posting is provided "AS IS" with no warranties, and confers no rights.


Oct 20 '06 #10
You can use aspnet_regiis.exe with "/lv" switch to display all ASP.NET
version installed on the server.

You could also traverse the inetpub\wwwroot\aspnet_client\system_web folder
if ASP.NET has been registered, it will contain version folders tree.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 23 '06 #11
thanks all for the suggestions , however I need to detect whether asp.net is
registered during a product install, as follows :
I can tell if the asp.net version I'm interested in (2.0.50727.0 for
example ) is installed by checking for key of
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\2.0. 50727.0
but this doesn't tell me if it is registered . Is there a registry entry for
that information which can be checked ?
-chaz

"Walter Wang [MSFT]" wrote:
You can use aspnet_regiis.exe with "/lv" switch to display all ASP.NET
version installed on the server.

You could also traverse the inetpub\wwwroot\aspnet_client\system_web folder
if ASP.NET has been registered, it will contain version folders tree.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 23 '06 #12
Please review this KB :

"How to detect the installed version of the .NET Framework
in a Visual Studio Setup and Deployment package" :

http://support.microsoft.com/kb/315291/en-us

That will tell you the installed version(s) of the .Net Framework.

You're right in that it will not tell you if it's registered but, since you will only need
to install one version of the .Net Framework ( the one your program requires ),
it won't hurt to run aspnet_regiis -i from the appropiate directory on the client's box.

i.e., if the client doesn't have the version you require installed,
either prompt the client to install it, or request permission to install it.

If the client *does* have the version you require installed,
run aspnet_regiis -i from the appropiate .Net Framework directory.

There's subtler considerations, too.
You might want to detect if a Service Pack is installed, for example.

For help on that, see this Aaron Stebner's blog entry :
http://blogs.msdn.com/astebner/archi...18/231253.aspx

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"chaz" <ch**@newsgroup.nospamwrote in message
news:02**********************************@microsof t.com...
thanks all for the suggestions , however I need to detect whether asp.net is
registered during a product install, as follows :
I can tell if the asp.net version I'm interested in (2.0.50727.0 for
example ) is installed by checking for key of
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\2.0. 50727.0
but this doesn't tell me if it is registered . Is there a registry entry for
that information which can be checked ?
-chaz

"Walter Wang [MSFT]" wrote:
>You can use aspnet_regiis.exe with "/lv" switch to display all ASP.NET
version installed on the server.

You could also traverse the inetpub\wwwroot\aspnet_client\system_web folder
if ASP.NET has been registered, it will contain version folders tree.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

Oct 23 '06 #13

chaz wrote:
>.. checking for key of
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\2.0. 50727.0
but this doesn't tell me if it is registered . Is there a registry entry for
that information which can be checked ?
"Walter Wang [MSFT]" wrote:
You can use aspnet_regiis.exe with "/lv" switch to display all ASP.NET
version installed on the server.
Maybe this can be redirected to a file and parsed from a c# or VB.net
program. Be careful about what the output might look like if a given
server has ore than one IIS site on it.

Or, you can write a WMI query against the IIS metabase. This only works
for IIS6 (Windows 2003). Do some google searches on this.

IIS6 came with some very cool scripts, and the links here are fantastic
to show you how to deploy an ASP.NET application. Look at the links in
the second message here:

http://forums.iis.net/thread/1337615.aspx

By the way, that "forums.iis.net" site is terrific for IIS related
questions.

Eric

Oct 23 '06 #14
I believe you could do this by reading IIS metabase, here's some example
code using C# and System.DirectoryServices:

DirectoryEntry directoryEntry = new
DirectoryEntry("IIS://localhost/w3svc");
IEnumerator directoryEntries =
directoryEntry.Children.GetEnumerator();
while (directoryEntries.MoveNext())
{
DirectoryEntry de =
(DirectoryEntry)directoryEntries.Current;
if (de.SchemaClassName == "IIsWebServer")
{
IEnumerator directoryEntries2 =
de.Children.GetEnumerator();
while (directoryEntries2.MoveNext())
{
DirectoryEntry de2 =
(DirectoryEntry)directoryEntries2.Current;
if (de2.SchemaClassName == "IIsWebVirtualDir" ||
de2.SchemaClassName == "IIsWebDirectory")
{

if (de.Properties["ScriptMaps"].Value is
object[])
{
object[] scriptMaps =
(object[])de.Properties["ScriptMaps"].Value;
for (int i = 0; i < (int)scriptMaps.Length;
i++)
{
string str =
scriptMaps[i].ToString().ToUpper();
int idx = str.IndexOf(".ASPX");
if (idx -1)
{
string[] elements = str.Split(',');
for (int ii = 0; ii <
elements.Length; ii++)
{
if
(elements[ii].IndexOf("FRAMEWORK") -1)
{
Console.WriteLine(de.Path);

Console.WriteLine(elements[ii]);
break;
}
}

}
}
}
}
}
}
}
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 24 '06 #15

Walter Wang [MSFT] wrote:
I believe you could do this by reading IIS metabase, here's some example
code using C# and System.DirectoryServices:
This code doesn't detect ASP.NET 2.0, but I definitely have it
installed, and it's selected in my IIS applet ASP.NET tab. I does show
ASP.NET 1.1, though.

Is there another property tree in the IIS Metabase for 2.0?

Eric

Oct 30 '06 #16
Hi Eric,

For more information about IIS metabase and ASP.NET, you can find a good
example here:

#ASP.NET IIS Chameleon Tool - The Code Project - .NET
http://www.codeproject.com/useritems...maleontool.asp
A tool to set one specific IIS Virtual Directory for a lot versions of same
web project.

Also, we can use MetaEdit or MetaExplorer to view the IIS metabase:

#HOW TO: Download, Install, and Remove the IIS MetaEdit 2.2 Utility
http://support.microsoft.com/kb/q232068/
This step-by-step article explains how to download, install, and remove
MetaEdit 2.2. The MtaEdt22.exe file is a downloadable, self-extracting file
that contains the IIS MetaEdit 2.2 utility. The MetaEdit 2.2 utility is
used to help to troubleshoot issues and to modify IIS metabase values.

#IIS Metabase and programmatic administration in C#
http://www.codersource.net/csharp_iis_metabase.html
configuration settings are stored. The metabase configuration and schema
for IIS 4.0 and IIS 5.0 were stored in a binary file, but from IIS6.0 the
configuration and setting is stored in single binary file (MetaBase.bin),
with plain text, Extensible Markup Language (XML)-formatted files named
MetaBase.xml and MBSchema.xml. You can navigate through the IIS Metabase
using MetaEdit or Metabase Explorer.

The Metabase is based on a hierarchical design with inheritance. Each
object in the metabase has a KeyType. The KeyType property specifies the
type of metabase key.

Each property of an object has a set data type and can be configured at
specific locations. For example, XoverTableFile can only have string value.
And this property can be configured only at IIsNntpServer. You can fing the
full list from MSDN.

#Download details: Internet Information Services (IIS) 6.0 Resource Kit
Tools
http://www.microsoft.com/downloads/d...2EE-A71A-4C73-
B628-ADE629C89499&displaylang=en
The IIS 6.0 Resource Kit Tools can help you administer, secure, and manage
IIS.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 31 '06 #17

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

Similar topics

0
by: Thomas Mobley | last post by:
I placed dotnetfx.exe on my install medium, put the relative path to to it in my launch condition properties installurl property, it asks if I want to install it, and does the install, but it...
3
by: CMan | last post by:
Hi, We are currently trying to install .Net Framework v.1.1 on a server which already has v1.0. We are receiving the following error. Error 1704.An installation for Microsoft .NET Framework...
2
by: Someone Please Help! | last post by:
I had Visual Studio .NET installed on my system for a while and then decided I would install a second copy of Windows 2000 on my second drive and use it strictly for developing Visual Basic apps....
1
by: Tomas Vera | last post by:
(This was posted in the Framework.Setup group a couple of days ago with no response. Hoping someone here has an idea on this.....) Hello, I'm unable to install (re-isntall) the 1.1 Framework. ...
9
by: Dave | last post by:
If you have VS 2005 installed on your machine and you install the 3.0 Framework, if you want to build a 2.X based framework project, how dow you do this ? Dave
13
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
17
by: Peter Anthony | last post by:
Can the 3.5 version of .NET Framework (currently Beta 2) be installed on pre-Vista machines? Or is it Vista-only? And, why doesn't .NET Framework come pre-installed with the operating system? I...
11
by: pg | last post by:
My old HD crashes, so I had to do a total re-install. After installer XP, I went to the Micrsoft Update site to get all the update. After 5 hours or so ... the update cycle started looping. ...
0
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
Hi all! I am having problems on installing .NET Framework 3.5 on some machines. In one machine the error is: WinVerifyTrust returned -2146762751 Wintrust not on machine Error: O arquivo...
3
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
Hi all! I am having problems on installing .NET Framework 3.5 on some machines. In one machine the error is: '.NET Framework 3.5' RunCheck result: Install Needed Verifying file integrity of...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...

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.