We have a dependency to use 32 bit DLLs from some of our IIS deployments - notably Crystal Reports.  Out of the box, Octopus Deploy doesn’t support this - IIS deployments will only be enabled for 64 bit mode.
Add a powershell script to enable 32 bit mode post deploy:
Import-Module WebAdministration
$appPool = "appPoolName"
set-itemProperty IIS:\apppools\$appPool -name "enable32BitAppOnWin64" -Value "true"
 
      
      
      
        
        
  
  I'm Kian Ryan
  
    TLDR; I sport, code, make stuff, and
    play adventure games.
  
  
  Stay safe. Go Make. Go Protest. Trans rights are still human rights. 
  Take care of people. Fascists from anywhere can get f-ed.
  
 
  
  
    There are no ads on this blog and as far as I can remember, never have been.
  
  
    ☕ If you want to support any of the work done here, or elsewhere,
    you can buy me a coffee on Ko-Fi.
  
  Our latest ko-fi supporters.
  
    
      
        
        No coffees purchased since we put this little widget live (or in the last
        two weeks). Others have kindly donated and you can see
        their donations here.