Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

Set ASPNET Version for Virtual Directory from C# App

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mikes - 06 Aug 2007 19:24 GMT
I am writing a C# Windows Application that will create virtual directories on
our Win 2003 server machines.  Using the System.DirectoryServices
DirectoryEntry class I have had very little trouble remotely creating and
configuring virtual directories on our servers.  My problem is that I have
not found a way to remotely configure the version of ASPNET that will be used
by the application running in the virtual directories I create.  We have a
mix of Web applications that require either version 1.1 or 2.0.  The only way
that I have found to manipulate ASPNET setting, other than doing it manually
through IIS Manager, is with the ASPNET_regiis.exe tool, which must be run on
the machine that is serving the virtual directory.  Is there any way to set a
virtual directory's ASPNET version remotely?

Mike
Juan T. Llibre - 06 Aug 2007 19:48 GMT
re:
!> The only way that I have found to manipulate ASP.NET setting, other than doing it
!> manually through IIS Manager, is with the ASPNET_regiis.exe tool, which must be
!> run on the machine that is serving the virtual directory.

Right...

re:
!> Is there any way to set a virtual directory's ASP.NET version remotely?

Not that I know of.

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/
======================================
>I am writing a C# Windows Application that will create virtual directories on
> our Win 2003 server machines.  Using the System.DirectoryServices
[quoted text clipped - 9 lines]
>
> Mike

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.