HighTechTalks DotNet Forums  

ASP.NET and Application Pools

Dotnet Scripting microsoft.public.dotnet.scripting


Discuss ASP.NET and Application Pools in the Dotnet Scripting forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
dm1608
 
Posts: n/a

Default ASP.NET and Application Pools - 11-16-2005 , 09:30 AM






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



Reply With Quote
  #2  
Old   
David Wang [Msft]
 
Posts: n/a

Default Re: ASP.NET and Application Pools - 11-16-2005 , 11:50 PM






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/arc...e_by_Side.aspx
http://blogs.msdn.com/david.wang/arc...ion_Pools.aspx

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"dm1608" <dm1608 (AT) spam (DOT) net> wrote

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





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.