Home Contact

The Frog Pond of Technology

Ripples of Knowledge for SharePoint and Other .Net Technologies

News

My blog has moved to WordPress at BrianTJackett.com. Any pages will automatically redirect to the new address in 7 seconds. Please excuse an issues during this migration.

 Subscribe to this blog


About Me

Name:
Brian T. Jackett
Location:
Columbus, OH
Company:
Microsoft

Find me on...

Tag Cloud


Archives

Post Categories

Syndication:

Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

<Update 2015/7/28 2:30pm>  I received clarification that the SharePoint product group does support installing .Net 4.6 onto an existing SharePoint 2013 farm server.  It is the installer for SharePoint 2013 that will fail to detect .Net 4.5 if .Net 4.6 is already installed and thus throw an error.  A future update should correct this scenario with the installer.

 

   On a related note I was able to successfully uninstall .Net 4.6 from a server (remove the KB as mentioned at bottom of this post) and then install SharePoint 2013.

</Update>

 

   Quick publish on this item and I’ll update once I have more details.  One of my customers is exploring Visual Studio 2015 / .Net 4.6 which was just released a week or two ago.  During some testing I found out that (as of July 28 2015 when this is published) you cannot install SharePoint 2013 binaries onto a server that has .Net 4.6 (or Visual Studio 2015 which includes .Net 4.6) installed.  I received the below error message.

Net46andSP2013

   Since .Net 4.6 is an in-place upgrade of .Net 4/4.5/4.5.1/4.5.2 SharePoint has an issue with finding .Net 4.5.x after applying 4.6.  I am testing out removing the associated KB for .Net 4.6 to see if this is reversible should you accidentally deploy this to a dev / test farm.  I’m also testing if you can install .Net 4.6 / Visual Studio 2015 onto an existing SharePoint 2013 farm.

 

Removing associated KB…

  • On Windows Vista SP2 / Windows 7 SP1/ Windows Server 2008 SP2 / Windows Server 2008 R2 SP1, you will see the Microsoft .NET Framework 4.6  as an installed product under Programs and Features in Control Panel.
  • On Windows 8 / Windows Server 2012 you can find this as Update for Microsoft Windows (KB3045562) under Installed Updates in Control Panel.
  • On Windows 8.1 / Windows Server 2012 R2 you can find this as Update for Microsoft Windows (KB3045563) under Installed Updates in Control Panel.

Download .Net framework

https://msdn.microsoft.com/en-us/library/5a4x27ek(v=vs.110).aspx

 

    Hopefully this helps someone before they run into issues with their farm.  Feel free to leave a comment if you find out any additional details or workarounds.

 

      -Frog Out


Tuesday, July 28, 2015 8:47 AM

Feedback

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Before uninstalling KB3045563, it was showing version as 4.6.0008
After uninstall, it is showing as 4.6.00073.

It is still giving me error to install 4.5. 7/29/2015 12:36 PM | ruchi

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Your blog saved my day. By removing KB3045563 I was able to install Sp2013.

Thank you for sharing :) 8/24/2015 9:42 AM | Soheil

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Removing KB3045563 on 2012R2 didn't help. 9/1/2015 12:36 PM | Jussi Palo

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

This article saved my day. Love it! Thanks so much! 9/14/2015 3:49 PM | Chris

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

It helped. Thx for sharing 10/6/2015 10:58 AM | Jakub

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

I was about to reinstall OS, thank you for sharing 10/8/2015 10:16 AM | Mostufh

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Glad you found it....I could not.... 11/6/2015 10:02 AM | KC

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Wow...thanks for this! I spent a lot of time searching for a solution.

I was searching for the error message, but you have just a screenshot, so I didn't find your blog at first. So, for the benefit of others, here is the error message in question:

Catalyst .Net version check failed. Setup requires .Net Framework version 4.5.50501 to install this product

Regards,
Mike Sharp 11/13/2015 6:18 PM | Mike Sharp

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Thanks it worked !!!!!!!!!!!!You saved me another day of searching!!!!! 12/21/2015 7:00 AM | ThomasG

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

on my 2012R2 system there is no KB3045563 to remove, the registry shows .Net 4.6.01055 with DWORD (394271) according to MS this is .Net 4.6.1, part of KB3102436, but no way to find this KB from Ctrl-Panel installed update to remove.

So, stuck. 1/21/2016 10:30 AM | Rick

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

AutoCAD 2015 does this as well, because of some stupid string comparison in the msi installer it fails with .net 4.6.

The fix with AutoCAD is settings these registry keys:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client]
"Version" = "4.5"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client\1033]
"Version" = "4.5"

After install set it to the value it was previously. Waiting for autodesk to fix their installer would be pointless. 1/22/2016 1:15 PM | jjurkus

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Thanks Brian! Great post! I ran across the problem building out a new test farm. My developer had installed VS before I got my hands into it for the SP install. This did the trick!

Cheers!

Matt 1/27/2016 1:21 PM | matt engel

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

If you run into this issue on Win Server 2012R2 and have .NET 4.6.1 installed with a registry version of 4.6.01055. Look for KB3102467 Update and remove that.

According to this

https://support.microsoft.com/en-us/kb/3102436

KB3102436 has varying KB numbers depending on Windows version. 1/27/2016 3:34 PM | Morten Andersen

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

on my 2012R2 system there is no KB3045563 to remove, the registry shows .Net 4.6.01055

KB3102467 uninstall worked fine.
Thanks Morten Andersen 2/2/2016 5:09 AM | rede

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Morten Andersen you are my hero!! That solved the problem.
And thank you for this blog by Brian as well, you are my hero too!!!! 2/4/2016 9:32 PM | Bhashwar Bhattarai

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Thx Morten Andersen! Uninstalling KB3102467 did the trick. Really annoying that Microsoft doesn't publish this info in their KB article. 2/5/2016 3:27 AM | Jeffrey

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Thank you Morten Andersen - life saver. 2/11/2016 9:17 PM | Mato

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Thanks for this post.
Deleted KB3102467 2/16/2016 5:17 AM | Andrey

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Thanks Morten Andersen. Your are right. 2/23/2016 6:01 AM | Saleh Mira

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

REMOVING KB3102467 WORKED FOR ME.....

THANKS EVERYONE 2/26/2016 2:24 PM | TSPK - The SharePoint King

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Smile after fighting for hours. Cheers mate! 3/1/2016 2:09 AM | Rav

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Visited your blog after installing VS 2015. Anyways necessary post to beginners. 3/4/2016 2:02 PM | Balaji - Sharepoint Beginner

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

dism /online /get-packages /format:table > c:\patches2.txt

dism /online /remove-package /packagename:Package_for_KB3102467~31bf3856ad364e35~amd64~~6.3.1.119 3/22/2016 9:57 PM | Chizzle

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

Excellent work around for a strange error thanks again 3/29/2016 8:12 AM | mark

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

this works, thank you jjurkus!

uninstallation .NET 4.6.1 was not possible on server, no option to uninstall in programs and features,

this workaround works:

change registry key temporary:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client]
"Version" = "4.5"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client\1033]
"Version" = "4.5"

and return to original value after installation Sharepoint Foundation Server 2013, in my case 4.6.01055
(ownership had to be taken from registry key, to achieve administrator permissions to change this key)

I did this on a Windows Server 2012 R2 server installation 4/15/2016 4:58 AM | Patrick Eradus

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

this works, thank you jjurkus! 5/4/2016 2:43 PM | Artur

# re: Be Careful Installing .Net 4.6 / Visual Studio 2015 with SharePoint 2013 (July 2015)

I just wanted to add that i actually had 4.6.1 installed, the other KB's weren't installed. The kb that needed to be uninstalled in order to run the sharepoint 2013 setup was Microsoft .NET Framework 4.6.1 for Windows Server 2012 R2 for x64(KB3102467) hopes this helps. 5/24/2016 11:39 AM | Dale

Post A Comment
Title:
Name:
Email:
Comment:
Verification: