IIS Server - Application Pools

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > June 2005 > Application Pools





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Application Pools
hiriumi@gmail.com

2005-06-23, 6:00 pm

Hi,
I'm wondering if there is a way to manipulate Application Pools
property programmatically. Application Pools became available from
Windows Server 2003, so I guess this would be specific to Windows
Server 2003. Any Win32 API or nice COM or .NET objects I could call to
change values?

Kristofer Gafvert [MVP]

2005-06-23, 6:00 pm

Hello,

The script center has some examples:

http://www.microsoft.com/technet/sc...ps/default.mspx

Also check the IIS SDK:

http://msdn.microsoft.com/library/d...7e670a4eafb.asp

and the IIsApplicationPoolSetting class:
http://msdn.microsoft.com/library/e...bfc8c1c9079.asp


--
Regards,
Kristofer Gafvert (IIS MVP)
www.gafvert.info - My Articles and help
www.ilopia.com


hiriumi@gmail.com wrote:

> Hi,
> I'm wondering if there is a way to manipulate Application Pools
> property programmatically. Application Pools became available from
> Windows Server 2003, so I guess this would be specific to Windows
> Server 2003. Any Win32 API or nice COM or .NET objects I could call to
> change values?

hiriumi@gmail.com

2005-06-23, 6:00 pm

This is great! Thank you very much for point it out!

William Tasso

2005-06-23, 6:00 pm

Kristofer Gafvert [MVP] <kgafvert@NEWSilopia.com> wrote:

> Hello,
>
> The script center has some examples:
>
> http://www.microsoft.com/technet/sc...ps/default.mspx


It does. Now I must be really dense atm because I've poured over those
can't figure out which would actually be used to create a new Application
Pool.

All I want to do is create a new Application Pool with a name I specify
and default all other settings.

--
William Tasso
Kristofer Gafvert [MVP]

2005-06-24, 2:48 am

There is an example using C# and ADSI on MSDN:

http://msdn.microsoft.com/library/e...37d4303559a.asp

Maybe it helps you?


--
Regards,
Kristofer Gafvert (IIS MVP)
www.gafvert.info - My Articles and help
www.ilopia.com


William Tasso wrote:

> Kristofer Gafvert [MVP] <kgafvert@NEWSilopia.com> wrote:
>
http://www.microsoft.com/technet/sc...ps/default.mspx[vbcol=seagreen]
>
> It does. Now I must be really dense atm because I've poured over those

can't figure out which would actually be used to create a new Application
Pool.
>
> All I want to do is create a new Application Pool with a name I specify

and default all other settings.
William Tasso

2005-06-24, 8:48 pm

Kristofer Gafvert [MVP] <kgafvert@NEWSilopia.com> wrote:

> There is an example using C# and ADSI on MSDN:
>
> http://msdn.microsoft.com/library/e...37d4303559a.asp
>
> Maybe it helps you?


Magnificant - thanks.

Of course, on its own it means nothing as I'm using wsh/vbScript, however
the relevant keyword is revealed on that page. Consequently, google was
able to assist with this ...

http://www.google.com/search?q=wsh+IIsApplicationPool

The result goes some way to illustrate why it has been so difficult to
find the necessary information.

--
William Tasso
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com