Last post Apr 18, 2013 04:00 AM by Angie xu - MSFT
Apr 11, 2013 09:11 PM|nakins|LINK
I've been going round and round with this for a couple of days now. I have a new 2008 r2 server with IIS 7 on it. I installed .net 4.5 onto it, and I would get errors trying to load an aspx. Error pages state the framework version as 2.0.xxxx. I have .net
4.0 selected in the app pool. I tried several app pools, everything. I discovered a test tool that determines if a .net version is installed or not. I tested it for 4.5 and the test came back successful. All this indicates that IIS 7 does not know to use the
How do I sett IIS 7 to use the 4.5 version of the .net framework?
Apr 11, 2013 09:33 PM|thirumaran007|LINK
I hope apppool 4.0 will work for 4.5 versions, is there any specific error that you are seeing?
Apr 11, 2013 11:15 PM|nakins|LINK
Thank you for your interest, but as I stated in my original post, the error pages are stating what the .Net framework is that is being used, and it is a 2.0 version and not a 4.0 version.
Apr 18, 2013 04:00 AM|Angie xu - MSFT|LINK
I think you need specify a .NET Framework Version for an Application Pool on IIS 7, you could follow the steps below,
1.Open IIS Manager. For information about opening IIS Manager,
2.On the Connections pane, expand the server node and click Application Pools.
3.On the Application Pools page, select the application pool for which you want to specify a .NET Framework version, and then click
Basic Settings in the Actions pane.
4.In the Edit Application Pool dialog box, in the .NET Framework version list, select the version that you want the application pool to use or select
No Managed Code if the application uses only native code.
Moreover, I think some tips are also available for you, the .NET 4.5 application pools are using .NET Framework 4.0 runtime. even though you have installed the .NET 4.5, It displays .NET Framework Version:4.0.30319,