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
4.5 version.
How do I sett IIS 7 to use the 4.5 version of the .net framework?
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.
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.
5.Click OK.
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,
With regards
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
17 Points
154 Posts
How do I get IIS 7 to recognize that .net 4.5 is installed
Apr 11, 2013 09:11 PM|nakins|LINK
Hi,
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 4.5 version.
How do I sett IIS 7 to use the 4.5 version of the .net framework?
Thank you
Contributor
4954 Points
1726 Posts
Re: How do I get IIS 7 to recognize that .net 4.5 is installed
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?
With Friendly,
Thirumaran
Member
17 Points
154 Posts
Re: How do I get IIS 7 to recognize that .net 4.5 is installed
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.
All-Star
32817 Points
3815 Posts
Re: How do I get IIS 7 to recognize that .net 4.5 is installed
Apr 18, 2013 04:00 AM|Angie xu - MSFT|LINK
Hi nakins
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.
5.Click OK.
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,
With regards
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.