473,287 Members | 1,926 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,287 software developers and data experts.

aspnet_regiis to configure remote IIS virtual directory

Rak
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
May 18 '06 #1
1 3340
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.)



May 19 '06 #2

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

Similar topics

17
by: JStemper | last post by:
On one of my localhost sites I'm getting a message to run aspnet_regiis -c to correct some scripting issues. When I try to run the listed command I get another error: "You must have...
1
by: Nick | last post by:
I have a server running Windows 2003. Within IIS I have 2 websites defined. One is for Sharepoint Team Services and the other for custom applications. I have a few new applications using .NET 2.0...
14
by: david | last post by:
I have developed web forms including login by using ASP.NET via HTTP. Now I want to secure the connection from client to the server via HTTPS. How can I configure the server or something else to...
4
by: tommaso.gastaldi | last post by:
If one does not configure a virtual dir as an IIS application, he/she receives the common error: ---------------------------------------- Server Error in '/' Application. .... This error can be...
3
by: hngo01 | last post by:
hi, In my Virtual Directory, I have Website1 folder and Website2 folder and etc… In Website1 folder, I have a BIN folder and same in Website2. If I move the BIN folder to underneath the Virtual...
0
by: SayamiSuchi | last post by:
Hi, I have made one web application using Asp dot net 2005 and sql server 2005.The sql server i am connecting is the remote sql server..When i run my application in my computer and in LAN, it...
2
by: SayamiSuchi | last post by:
-------------------------------------------------------------------------------- Hi, I have made one web application using Asp dot net 2005 and sql server 2005.The sql server i am connecting is...
6
by: SayamiSuchi | last post by:
i got some problems in running my application from the server...I have used ASP DOT NET 2005 and SQL SERVER 2005.Actually the web application i had made is run in my pc and our LAN.We are using the...
2
by: rockdale | last post by:
I followed this article, http://msdn2.microsoft.com/en-us/library/zhhddkxy.aspx My command is: aspnet_regiis -pe "connectionStrings" -app "/myWebSiteName" -site 711831 -prov...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...

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.