Red Gate forums :: View topic - Set Enable 32-bit Applications on App Pool Creation
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Deployment Manager
Deployment Manager forum

Set Enable 32-bit Applications on App Pool Creation

Search in Deployment Manager forum
Post new topic   Reply to topic
Jump to:  
Author Message
mtrutledge



Joined: 14 Oct 2013
Posts: 5

PostPosted: Fri Jan 17, 2014 12:00 am    Post subject: Set Enable 32-bit Applications on App Pool Creation Reply with quote

How do I set the Enable 32-bit Applications property of an Application Pool on a 64-bit machine to true when red-gate deploy sets up the application pool for the first time?
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1144
Location: My desk.

PostPosted: Fri Jan 17, 2014 10:16 am    Post subject: Reply with quote

I don't think any of the variables in DM will let you set this option. It may be possible to set it in the postDeploy.ps1 by executing this though:

Code:
appcmd set apppool /apppool.name:MyAppPool /enable32BitAppOnWin64:true
Back to top
View user's profile Send private message
mtrutledge



Joined: 14 Oct 2013
Posts: 5

PostPosted: Fri Jan 17, 2014 7:33 pm    Post subject: Reply with quote

Thanks for the reply. That will work, I will create a post deploy script.
Back to top
View user's profile Send private message
swinghouse



Joined: 12 Sep 2011
Posts: 99

PostPosted: Wed Feb 26, 2014 12:34 pm    Post subject: Reply with quote

I had to make some slight modifications to the script that James suggested and ended up with:

Code:
$appcmd = "$env:windir\system32\inetsrv\appcmd.exe set apppool /apppool.name:MyAppPool /enable32BitAppOnWin64:true"
Invoke-Expression $appcmd


This works fine for us.

I added a suggestion at http://redgate.uservoice.com/forums/176290-deployment-manager/suggestions/5570073-configure-the-enable-32-bit-applications-setting regarding a DM variable for this setting.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group