aspnet_regiis to configure remote IIS virtual directory

G

Guest

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
programatically?
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.

Rak
 
S

Steven Cheng[MSFT]

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
http://aspalliance.com/306

Regards,

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! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,905
Latest member
Kristy_Poole

Latest Threads

Top