Last post Mar 20, 2015 10:14 AM by griffwampatuba
Mar 18, 2015 02:55 PM|griffwampatuba|LINK
I am running Web Apps on a Windows Server 2008 R2 I have attempted several times now to install the .Net Framework 4.5.1.
However, the 4.5.1 Framework is still not available. I understand that it is "in place" in the 4.0 folder, etc. However, the following are indications that it is not installed properly:
1 - It does not appear in the Registry at HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> .NETFramework -> [the highest framework still listed as "v4.0.30319"]
2 - It does not appear in the Registry at HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> NET Framework Setup -> NDP -> -> [the highest framework still listed as "v4.0"] -> Client -> Version [again, the highest framework still listed as "v184.108.40.206"]
3 - If I try to register .Net after an install/repair using "aspnet_regiis -I" inside the 4.0 Framework root folder, .Net 4.5 still does not show up as an Application Pool option.
4 - I have attempt to manually set .Net 4.5 as the App Pool framework via the "appcmd", and it does show "4.5", however it does not work and shuts down the App Pool (obviously because it doesn't see the Framework as on the server, etc.).
5 - I've also tried the Framework Repair tool, still no results:
6 - Even when I run "aspnet_regiis -lv", to list all recognized installed versions, 4.5.1 is not listed - the highest listed remains 4.0.30319.0.
7 - In IIS, the only Frameworks available to select from are ".NET Framework v2.0.50727" and ".NET Framework v4.0.30319" - there is no option listed for 4.5.x. Should there be? I am trying to test something that requires 4.5.1, and this test is failing,
which seems to confirm that the 4.5.1 framework is not successfully being referenced.
How exactly do we ensure that .Net 4.5.1 is correctly installed and Available?
Mar 18, 2015 03:02 PM|vikasrulez|LINK
you need to register IIS with .net framework, run this command in .net command prompt
more details are here:-
As you said its showing 4.0, than its good... its a bug or limitation that 2.0 and 3.5 are shown as 2.0, whereas 4.0 and 4.5 are displayed as 4.0 only
Mar 18, 2015 03:26 PM|griffwampatuba|LINK
Uh, yes, per my comment #3, I have tried to register the framework repeatedly. No results. 4.5.1 remains un-registered and unrecognized.
Mar 18, 2015 03:41 PM|vikasrulez|LINK
4.5 does not appear as an Application Pool, I'm also using 4.5.1 on my dedicated server and it only shows 4.0 application pool
Mar 18, 2015 03:51 PM|griffwampatuba|LINK
Okay, let me help you some more.
1 - I know this is not working because some specific 4.5.1 functionality is missing
2 - Per Pt. #6 in my post, 4.5.1 is not even listed as an installed Framework. I know the update is supposed to be "inline" and all that, but there must be some proof that it all installed correctly.
3 - Again, after I run the Framework Repair tool from Microsoft, it suggests I should reinstall 4.5.1, which suggests there was something wrong with the install.
I suppose I could uninstall all Framework versions and just install 4.5.1 and see what happens then.
Mar 18, 2015 04:16 PM|vikasrulez|LINK
Mar 18, 2015 09:40 PM|oned_gk|LINK
In app pool option you only can choose one of clr versions (1.0, 1.1, 2.0, or 4)
See this : https://msdn.microsoft.com/en-us/library/8bs2ecf4(v=vs.110).aspx
Mar 19, 2015 09:19 AM|griffwampatuba|LINK
Yes, I've stated as much. However, there is no good evidence that 4.5.1 was successfully installed. I am not seeing the expected behavior if it was installed.
Mar 20, 2015 03:00 AM|oned_gk|LINK
Mar 20, 2015 09:56 AM|griffwampatuba|LINK
Okay, this article helped even more:
So, this does indicate that I have 4.5.2 installed, however I can see no updated versions of the dlls and I still cannot target the 4.5.2 framework for our Web App.
For instance, if I open the Property Pages for the site, and under the "Build" section, the Target Framework lists only as high as 4.0.3, but 4.5.x is not available.
Now I'm wondering if the problem is that our Web Site is simply not referencing the latest 4.5.x dlls.
So how do we do that?
Mar 20, 2015 10:14 AM|griffwampatuba|LINK
Okay, so this is frustrating, but it seems I've found my answer.
We are running a .Net 4 Web Forms web site built with VS 2010 on a Windows Server 2008 R2.
Despite all this, we cannot utilize .Net 4.5.x unless we at least upgrade to VS 2012 or later. I'm willing to be there is a hack to allow .Net 4.5.x to work with VS 2010 and/or IIS 7.5, but I can't find one and it may better to just go with an upgrade anyhow.
Answers here (an involved hack is detailed in the first link after the checked answer):
This is very frustrating that it is not clearer.