This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: IIS .NET Framework version incorrect
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Apr 18, 2011
03:44 PM
IIS .NET Framework version incorrect
On new installs, the NET 2.0 framework is being selected by default in the ISS Application pool (Server Configuration -> Internet Information Services -> Application Pools). Our ASP samples must have the .NET 4.0 framework or it will not run.
I found a command line that will update the framework version in the app pool, but hope that InstallShield has a place to do this instead. appcmd set apppool /apppool.name:MyAppPoolName /managedRuntimeVersion:v4.0 (source: http://technet.microsoft.com/en-us/library/cc754523(WS.10).aspx)
Anyone?
-jp
twitter.com/buildgeek
http://buildgeek.com
I found a command line that will update the framework version in the app pool, but hope that InstallShield has a place to do this instead. appcmd set apppool /apppool.name:MyAppPoolName /managedRuntimeVersion:v4.0 (source: http://technet.microsoft.com/en-us/library/cc754523(WS.10).aspx)
Anyone?
-jp
twitter.com/buildgeek
http://buildgeek.com
(3) Replies
‎Apr 19, 2011
01:31 PM
I figured this out using Custom Actions. If you're curious, see my blog post about it here:
http://buildgeek.com/2011/04/iis-app-pool-and-net-framework-ver/
-jp
http://buildgeek.com/2011/04/iis-app-pool-and-net-framework-ver/
-jp
‎Apr 22, 2011
10:19 AM
This setting is available on an Application Pool; it's called .NET Framework Version. Per your screenshot in the blog it does not look like you're running InstallShield 2011. Are you on a version before IS2010 when we added this?
‎Mar 26, 2012
01:37 PM
I have an application pool that is created with IS and I have the .NET Framework Version set to v4.0...however it doesn't work every time. I have several servers that I have to go into INETMGR and change the application pool from 2.0 to 4.0...are there any known issues with this setting? Other servers it works just fine.