Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Detecting that App-pool and website exists



  • Hi.
    We are in the process of determining if Buildmaster is for us.

    I have a project that i have set to create an app-pool and website in IIS 7.
    That works on the initial run but fails on subsequent runs since the pool and site already exists.

    How do i implement some check in the workflow that will check for the ecistance of the pool and site.
    Essentially i actually expected that the step in the flow was clever enough to ask the IIS if they already existed and if so simply ignore the step in the flow.

    All help is very much appreciated.

    Product: BuildMaster
    Version: 4.9.6



  • This would be very easy to do with a PowerShell script, so as an immediate solution, I'd suggest to do that. It'd also be very easy to patch/modify that particular action (CreateIisAppPoolAction.cs)

    That being said, this all applies to the "v4 execution engine", which will very soon be replaced with an indescribably better execution engine (the one that Otter currently uses). When we migrate the "v4 App Pool Action" to the "v5 App Pool Operation", it will basically look like the Ensure-AppPool Operation.

    So, as you continue to explore BuildMaster, do keep this in mind :)

    If you're doing server/infrastructure configuration (which, creating applications is definitely a part of), I'd strongly recommend looking at Otter as well!



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation