Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > aspnet_regiis to configure remote IIS virtual directory

Thread Tools

aspnet_regiis to configure remote IIS virtual directory

Posts: n/a
Can I use aspnet_regiis to change the .NET Version of a remote IIS virtual
directory? If yes, how can I do it. If not, what options do I have to do it
Currently I have an application that creates a virtual directory using the
System.DirectoryServices.DirectoryEntry class, and then set the appropriate
properties on it. In one of my previous posts I was told that to change the
..NET version on a virtual directory I need to use the aspnet_regiis tool, but
I cannot see how I can use it to change the .NET version of a virtual
directory running on a remote IIS server.

Any ideas most welcome.

Reply With Quote
Steven Cheng[MSFT]
Posts: n/a
Hi Rak,

Thank you for posting.

I've posted my new reply in your original "programatically changing the
net version of virtual directory" thread. As I mentioned there, the
aspnet_regiis tool internally change all the script mappings (related to
ASP.NET specific document extensions). So we can also directly change those
script mappings manually in our code (through ADSI). You can refer to the
following article on detailed info:

#Switching Versions of the ASP.Net Framework


Steven Cheng
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.

Get Secure!
(This posting is provided "AS IS", with no warranties, and confers no

Reply With Quote

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
aspnet_regiis and script maps in IIS Jeremy S. ASP .Net 8 07-21-2009 10:06 AM
How to configure a virtual directory as an application with an installer ASP .Net 1 04-29-2007 09:46 PM
Why does aspnet_regiis -c put the aspnet_client directory under every website? ASP .Net 0 08-16-2005 09:34 AM
IIS suddenly stopped working with ASP.NET 1.1 - ASPNET_REGIIS doesnt seem to work J Rieggle ASP .Net 1 07-21-2005 07:57 PM
Ran aspnet_regiis.exe -i from 1.1 dir, but iis is not running 1.1 Kyle Jedrusiak ASP .Net 1 08-19-2003 01:19 AM