App Pool Creation in IIS 7

May 13, 2013 at 1:58 PM
We are creating an app pool in IIS 7

<MSBuild.ExtensionPack.Web.Iis7AppPool
  TaskAction="Create"
  AutoStart="true"
  MachineName="$(Server)"
  ManagedRuntimeVersion="v4.0"
  Name="$(WebsiteName)"
  PipelineMode="Integrated"
  MaxProcesses="1"
  IdentityType="NetworkService"
  Force="true" 
  Condition="$(AppPoolIdentity) == ''" />
This used to work in msbuildextensionpack 3.5.5 but in 4.0.7.0 I get an error in the event log stating that :-

The application '/' belonging to site '2' has an invalid AppPoolId 'Catalogue' set. Therefore, the application will be ignored.

Which means that the website isn't configured correctly (the Authentication settings are wrong)

Any ideas on what's changed or if I am missing anything?

Thanks
Greg
Coordinator
May 14, 2013 at 6:50 AM
Hi Greg

I cant repro this issue and comparing the code there are quite a lot of changes, but nothing that would appear to cause an issue like this. Does the task error when you run it?

Mike
Marked as answer by mikeFourie on 10/9/2013 at 3:15 PM