App Pool and Windows Server 2008


From my testing, the app pool task does not work with Windows Server 2008 from a Windows Server 2003 box. When I run the following simple test from a 2003 box against a 2008 box, it always returns false, even if the app pool does exist.
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="DesktopBuild" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<Import Project="d:\TB\Tools\Microsoft.Sdc.Common.tasks" />
<Import Project="d:\TB\Tools\TeamBuild.Properties.targets" />

<Target Name="DesktopBuild">
    <Web.AppPool.Exists MachineName="win2008srv"
        <Output TaskParameter="DoesExist" PropertyName="AppPoolExists"/>
<Message Text="The value returned was: $(AppPoolExists)" />
Closed Aug 26, 2010 at 9:37 PM by mikeFourie
This library is no longer under active development / support. Please see the home page for details.


jiffy wrote Jun 8, 2009 at 8:18 PM

it appears to work from windows 2008 to windows 2008 -- is this because 2003 can't see 2008 pools?

mikeFourie wrote Jun 10, 2009 at 12:09 PM

There is currently no support for iis7 in the library. As you are on 3.5, you can try the MSBuild Extension Pack which supports IIs7.

wrote Aug 26, 2010 at 9:37 PM

wrote Feb 14, 2013 at 2:32 AM

wrote May 16, 2013 at 7:00 AM