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 / .NET Framework / Scripting / November 2005

Tip: Looking for answers? Try searching our database.

ASP.NET and Application Pools

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dm1608 - 16 Nov 2005 14:30 GMT
Hi, all.

I have a question regarding ASP.NET and Application Pools as defined within
IIS Manager.

I have a bunch of in-house ASP.NET applications that I frequently have to
install on my IIS 6 server -- approx. 40 total.  We have a custom
application pool that we must assign these ASP.NET applications to to
recycle memory, etc. Unfortuantely, every time I install a new ASP.NET, it
uninstalls the original and re-installs.  This requires me to manually go
into IIS Manager and click on the virtual directory for the application and
edit its properties to assign to custom application pool.

My question is, is there a way I can automate this via scripting or some
other mechanism?  I know what applications need to be within what app
pool -- so I just need to know how I can accomplish this non-interactively.

Any help or direction would be appreciated.

...david
David Wang [Msft] - 17 Nov 2005 04:50 GMT
CSCRIPT %systemdrive%\Inetpub\AdminScripts\adsutil SET
W3SVC/1/ROOT/AppName/AppPoolId CustomApplicationPool

Some other possibly interesting blog entries on the topic:
http://blogs.msdn.com/david.wang/archive/2005/11/07/HOWTO_Install_and_Run_ASP_Ne
t_20_Side_by_Side.aspx

http://blogs.msdn.com/david.wang/archive/2005/09/01/HOWTO_Provision_ASP_dotNet_A
ppDomains_and_IIS6_Application_Pools.aspx


Signature

//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//

Hi, all.

I have a question regarding ASP.NET and Application Pools as defined within
IIS Manager.

I have a bunch of in-house ASP.NET applications that I frequently have to
install on my IIS 6 server -- approx. 40 total.  We have a custom
application pool that we must assign these ASP.NET applications to to
recycle memory, etc. Unfortuantely, every time I install a new ASP.NET, it
uninstalls the original and re-installs.  This requires me to manually go
into IIS Manager and click on the virtual directory for the application and
edit its properties to assign to custom application pool.

My question is, is there a way I can automate this via scripting or some
other mechanism?  I know what applications need to be within what app
pool -- so I just need to know how I can accomplish this non-interactively.

Any help or direction would be appreciated.

...david

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.