How to install .NET 2 in IIS 6 in the ASP.NET tab

  • Thread starter Thread starter WT
  • Start date Start date
W

WT

Hello,

I have found a vb script to create a new asp.net site under iis 6 but it is
missing a part to help setting the version of .NET to use.
How to do this ?

Thanks for answer.
CS
 
re:
!> help setting the version of .NET to use. How to do this ?

Create a batch file and run :

aspnet_regiis -sn W3SVC/1/ROOT/YourAppVirtualPath

from the ASP.NET 2.0 directory, usually :

%WINDIR%\Microsoft.NET\Framework\v2.0.50727

W3SVC/1/ROOT/AppVirtualPath assumes a default website configuration.

If you're installing to a non-default "default website", modify the path accordingly.

For example :

aspnet_regiis -sn W3SVC/2/ROOT/AppVirtualPath




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
=========================
 
Thanks, but why th 2 in aspnet_regiis -sn W3SVC/2/ROOT/AppVirtualPath ?
What if others sites are already installed ?
 
re:
!> why th 2 in aspnet_regiis -sn W3SVC/2/ROOT/AppVirtualPath ?

That was only an example.

You have to know what the naming scheme is,
for the server you're installing your app in.

To know that, you have to parse the outcome of :

aspnet_regiis -lk




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
=========================
 
Hi CS,

I think Juan's answer is correct. You can refer to the following article
for more details:

http://technet.microsoft.com/en-us/library/cc757148.aspx

If this problem is not resolved please let me know. I'll do my best to
follow up.

Regards,
Allen Chen
Microsoft Online Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 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. 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/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi CS,

Have you solved this issue?

Regards,
Allen Chen
Microsoft Online Support
 
Back
Top