cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
luke_easter
Level 2

Install ASP.NET4 app in IIS

Is it possible to create an installer for a .NET 4 web application that installs the application in IIS

When trying I've run up against the following error when running the install on Windows server 2008 R2.

Application pool Enable32bitAppOnWin64 value is 'false'
SetAspversion: machine is 64-bit and IIS running in a bit mode other than the currently selected mode
Error with IISRT: -2172

It looks like because the Installer is 32bit it wants to make the App Pool support 32bit Applications, even though this is irrelevant for a pure ASP.NET application.

Thanks in advance
0 Kudos
3 Replies
SwethaRao
Level 7

Hello,

Please set the Enable32bitAppOnWin64 property to "True" for the Apppool in InstallShield.

Kindly read through the below article which provides more insight on the setting.

http://helpnet.flexerasoftware.com/installshield16helplib/IISDetectAppPool32.htm

Best regards,
Swetha
0 Kudos
luke_easter
Level 2

Hi,

Unfortunately we're using InstallShield LE, which doesn't appear to allow you to configure App pools.
Also on a 64bit OS a pure .net application shouldnt be set to 32bit - it will run 64bit, the application targets any architecture.

Thanks
0 Kudos
SwethaRao
Level 7

Hello Luke,

Next thing to check is if IIS is running in 64bit mode on the target machine. That can be done through the task manager. If IIS is runing in 32bit mode, you will see w3wp *32, else w3wp.exe. If IIS is running in 32 bit mode, you could try changing it to run in 64bit mode and install the application.

Regards,
Swetha
0 Kudos