Friday, March 18, 2016

Setup is Unable to Proceed due to following error, requires .Net Framework 4.5

I can not start this blog without giving credit to Jon Bryan for his amazing article which helped to resolve the error. @ here.

I did lot of setup of the SP2013 environment in last 2 years. But current error has blew my mind away. And i blame the error message which SharePoint give for this. I am using Windows Server 2012 R2 which comes default with .NET Framework 4.5 and I am keep getting the error message that pre-req .net framework 4.5 is missing.

Finally after reading the blog from Jon Bryan, I have realised that it has 4.5  and complete version is 4.6.01055. That means it is 4.6 while SharePoint 2013 keep looking for 4.5.50501. 

So, as an It Pro, what you need to do which we called as Register Hack by changing the value only in registry and not uninstalling or installing anything on the server.
Change the Value @ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client
Key ==> Version = 4.5.50501

And start your installation. Keep in mind that after the installation change the same value back to 4.6.01055.

Now, when you go for making the changes to Registry you are going to face another challenge of "Access Denied". Please Use this blog from Austin Ruthruff on how to over come with that issue.

Thanks Joy Bryan and Austin Ruthruff to make the life easier for the people out there.