I recently received some questions about supportability of SharePoint 2013 and 2016 with .NET framework 4.7 which is now being pushed out via Microsoft Update.
.NET framework 4.7 is supported as well with SharePoint 2013 and with SharePoint Server 2016.
Permalink
Hello Stefan,
Thank you for this post. Is it also compatible with SharePoint 2010? In order that SharePoint 2013 should work with .Net framework 4.7, does it SharePoint needs to be on a specific CU?
Permalink
Hi Sagar,
SharePoint 2010 uses CLR 2.0 (.NET 3.5) – not CLR 4.0.
So SharePoint 2010 does not make use of .NET 4.x.
Cheers,
Stefan
Permalink
It is possible to install SharePoint 2013 if .Net 4.7 is already installed or it is necessary to uninstall it before install SharePoint 2013 and reinstall after that? Similar .Net 4.6
Permalink
Hi Steffen,
for .NET 4.6 the issues was fixed last year:
https://blogs.technet.microsoft.com/stefan_gossner/2016/09/14/sharepoint-2013-installer-now-supports-net-framework-4-6-and-above/
For .NET 4.7 I haven’t tried to be honest. I upgraded all my systems and did not try to install a fresh one on .NET 4.7.
Cheers,
Stefan
Permalink
I did try SharePoint 2013 installation with preinstalled .NET 4.7 on Windows Server 2008 R2, 2012 and 2012 R2. No issues.
Just make sure you have this special svrsetup.dll in the “Updates” Folder as described here:
https://blogs.technet.microsoft.com/stefan_gossner/2016/09/14/sharepoint-2013-installer-now-supports-net-framework-4-6-and-above/
I also tried SharePoint 2016 installation with preinstalled .NET 4.7 on Windows Server 2016. No issues.
Permalink
Thanks for the confirmation!
🙂
Permalink
.NET Framework 4.7.1 has been released.
I did try SharePoint 2013 installation with preinstalled .NET 4.7.1 on Windows Server 2012 R2. No issues.
Just make sure you have this special svrsetup.dll in the “Updates” Folder as described here:
https://blogs.technet.microsoft.com/stefan_gossner/2016/09/14/sharepoint-2013-installer-now-supports-net-framework-4-6-and-above/
I also tried SharePoint 2016 installation with preinstalled .NET 4.7.1 on Windows Server 2016 with SQL Server 2017. No issues.
Permalink
Hi Stefan,
we use SharePoint 2016 on Server 2016.
After installing the .NET Framework 4.7 Update we got an internal server error 500 on all of our web applications.
In the Event Log we saw an ASP.NET 4.0.30319.0 Error ID 1325:
Message: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)
We found a workaround for our problem in the following blog post:
https://lovedjohnysmith.wordpress.com/2014/07/25/sharepoint-farm-error-500/
We could reproduce the error on our Dev and Test Farm.
Best regards,
Bernd
Permalink
Hi Bernd,
I haven’t see such a problem on any of my system.
Sounds to me as if you have a 3rd party component installed which badly interacts here (similar to the AgentProfiler in the example in the article you quoted).
Cheers,
Stefan
Permalink
I have the same issue, only your fix isn’t working… the June update and .net 4.7 framework were installed by a SysAdmin last weekend, and now I can’t get to any of the sites, even though everything appears to be functioning. An IIS trace suggests it’s a 401 authentication error…. I’ve just about tried everything to get the sites working again…
Permalink
I have now managed to fix this, well at least get it working again. After checking through the trace logs I found that I was getting a Dynamic compression error. By removing this from the sites users are now able to browse again.
-> Take IIS backup.
-> Open IIS
-> Click on server module node at the top of the left hand tree and choose “Modules”.
-> Right click on DynamicCompressionModule and choose “Unlock”
-> Right click on StaticCompressionModule and choose “Unlock”.
-> Open desired websites -> Open Modules.
-> Right click on DynamicCompressionModules and choose “remove”.
-> Right click on StaticCompressionModule and choose “Remove”.
-> Do an IISRESET.
Permalink
Thanks for the information.
Permalink
.Net 4.7 broke Excel Web App edit functionality within OWA 2013 servers that we have attached to SP2013. Anyone else encountered the problem? OWA is deployed on original Server 2012 OS.
Permalink
Hi Stefan,
Would you happen to know if Office 2013 will be getting a similar fix? I need to install Office 2013 pro plus onto server 2012 R2 with .NET FWK 4.7 (not visible in Uninstall programs) and it is still failing on a .NET FWK 4.5 pre-requisite.
Permalink
sorry – I have no information on Office client products.
Permalink
Hello Stefan,i assume 4.8 is supported aswell for current SharePoint versions (2016/2019)
Permalink
Hi Kofelf,
.NET framework 4.8 was released roughly two years ago and we have not received any report about compatibility issues related to SharePoint.
Cheers,
Stefan