Can we configure the Enable 32-Bit Applications property of an IIS application pool from Octopus Deploy?
Thanks for getting in touch! Currently Octopus does not have the ability to set this option for you. Currently this can only be achieved with a custom PowerShell script as you mention.
We may look into supporting something like this in the future but at the moment a custom script is your only way.
Let me know if you have any further thoughts or questions here.
Thanks for your reply! What would be a good way to set this property from a PowerShell script?
Spending some quality time with Google, I found a post of mine from 2014 where I suggested this:
$appcmd = “$env:windir\system32\inetsrv\appcmd.exe set apppool /apppool.name:MyAppPool /enable32BitAppOnWin64:true”
Do you have a better solution? Are there any problems running a script in elevated mode from Octopus?
Thanks for the update! I think I also saw that example, however, I have not tried it yet.
Octopus executes any PowerShell scripts through the account running the Tentacle service. The Local System account is the default Tentacle account, which runs with elevated permissions. If you are not using the Local System account, you will need to make sure the selected account has the appropriate permissions.
Let me know if you have any more questions.
Thanks for the help. Setting up a standalone script step to run the PowerShell script worked like a charm.
Thanks for the update! Please feel free to get in touch at any time.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.