Set IIS App Pool when creating new Website (IIS 7)

 Hello,

I am working on a Web deploy script with FinalBuilder, and as part of the deploy, I'd like to ensure that the app pool and web site exist before deploying.  If they do no exist, I'd like to create them both.  So, I've used the Create Application pool (IIS 7) action to create the app pool, no problems.  Then I used the Create Website (IIS 7) action to create the web site, and I can specify almost everything I need to with that with the exception that I cannot associate my web site with the app pool I created in the previous step.  When it creates the web site, it associates it with the default app pool.  Is there a way for me to associate my new web site with my new app pool?

Thanks,

Nick

Hi Nick

We did it for the IIS6 actions, so it may just be an oversight… I’ll get someone to look at this on Monday.


 Awesome Thanks!

We have found a work-around using PsExec and appcmd to set, but it would be nice if it were a part of the Create Web Site action.

Nick

Hi Nick

I have added support for this in the IIS 7 actions. I will post the build containing the changes shortly.

Regards
Steve

Hi Nick

Here is the link to the build containing these changes:
https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_610.exe

Edited:

This is the correct build:

https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_621.exe

Regards,
Steve

When do these builds move into release mode out of test mode?

I keep getting Unable to Set Variable Variable no longer defined errors from this build. The variables that I'm working with are very clearly defined. I can see them in the watch window.

One thing to note, these variables are Action List Parameters.

Hi Nick

Sorry about that! It appears that a fix we made for another issue broke action some of the action list parameter functionality. This has been fixed in the following build:
https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_622.exe

In terms of tests builds moving to release builds, we hope to release a FB7 official update very soon (just waiting on feedback from some other issues that we have recently addressed).

Regards,
Steve