I am installing SharePoint 2016 together with PowerPivot and Power View for SQL Server 2016 and I have a 3 servers Hyper-V environment running locally:
- A domain controller (with a tabular instance of SSAS 2014)
- A SharePoint 2016 single server farm
- A SQL Server 2016 CTP 3.1 running the database engine and the tabular instance
I am following the installation described on this great whitepaper : http://go.microsoft.com/fwlink/?LinkId=717341
And everything is going great. The only thing is I want to keep my server number down to 3 instead of 4 as the whitepaper describes. This for resources reasons. So I decided to run Office Online server Preview on server 3 (The SQL Server 2016 CTp 3.1 box) as it can not run on the same box than SharePoint – clever licensing gimmick !!
The problem is that I get an error when installing Office Online Preview : This product requires microsoft .Net framework 4.5
But .Net Framework 4.5.2 is installed and running on the server.
the problem occurs because SQL Server 2016 CTP 3.1 ships with the .Net framework 4.6 and the Office Online Server Preview Setup program does not recognize the .NET Framework 4.6 as a supported version of the .NET Framework.
There are several ways around this problem, the easiest one making sure that the .NET Framework 4.6 is not installed when you run SharePoint Setup.
If the Microsoft .NET Framework 4.6 is already installed, follow these steps
Making the server believe that you have changed the .Net Framework version
Change the following values from “4.6.00057” to “4.5.50501” in
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\Version
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full\Version
Then reboot and reinstall Office Online Server.
After that revert the values of the 2 keys mentioned above and reboot the server.
Thanks to Jason Haak (L) for describing this workaround and pointing me to the full description of the Office Online Server preview installation
Voila, Happy SharePointing !!
.