SharePoint 2013 Setup error if the .NET Framework 4.6 is installed

This happened to me in a customer installation, during the installation, the installer verifies if .Net Framework 4.5 is available and fails to install SharePoint if Framework 4.6 is installed.

First think that you would think is: I did not install .Net Framework 4.6… but you have to be aware that this version is included in a Windows Update, so we need to uninstall this Windows Update to be able to install SharePoint.

But before uninstalling :net 4.6 or 4.6.1 we can verify which version we are using, to do this we can use the .NET Framework Setup Verification Utility and confirm which version is installed.

Then, what we need to do is to search one of the following updates and uninstall it:

  • On Windows 7 SP1 and Windows Server 2008 R2 SP1, the Microsoft.NET Framework 4.6.1 is listed as an installed product under the Programs and Features item in Control Panel.
  • On Windows 8 and Windows Server 2012, it’s listed as Update for Microsoft Windows (KB3102439) under theInstalled Updates item in Control Panel.
  • On Windows 8.1 and Windows Server 2012 R2, it’s listed as Update for Microsoft Windows (KB3102467) under the Installed Updates item in Control Panel.
  • On Windows 10, it’s listed as Update for Microsoft Windows (KB3102495) under the Installed Updates item in Control Panel.

Once uninstalled the update, will be necessary to restart the server in order to apply the changes. After the server has been rebooted it is possible to start the SharePoint installation process again.

Hope it helps!

Related info:

https://support.microsoft.com/en-us/kb/3102436
https://support.microsoft.com/en-us/kb/3087184
http://geekswithblogs.net/bjackett/archive/2015/07/28/be-careful-installing-.net-4.6–visual-studio-2015-with.aspx
http://www.expta.com/2016/02/how-to-uninstall-net-framework-461.html

 

How to use Office Webb Apps in a .Net application

My colleagues were developing a .Net application and they wanted to use the Office Web Apps to previsualise files, such as, word, ppt or pdf.

We were discussing about the issues and finally we opt to implement a server with Office Web Apps and use it to try how to implement it, so let’s go:

We have to take into account that by default the Office Web Apps new farm configuration does not set OpenFromURLEnabled to True. So to use it, it is neccessary to set to True by running the command below in Powershell on the WAC Server

Set-OfficeWebAppsFarm -OpenFromURLEnabled

Setting this propertie to True, Office Web Apps Server provides a page at the address http://OfficeWebAppsServername/op/generate.aspx that you can use to generate links to publicly available documents that have UNC or URLaddresses. When a user selects a generated URL, Online Viewers enable Office Web Apps Server to get the file from its location and then render it by using Office Web Apps.

Next is to create a folder inside the server (or in a NAS or whenever you want), but it is necessary that the computer that run the Office Web Apps farm has permissions on it.

WAC%20Blog.PNG-550x0

Also it is necessary to share the folder with everyone:

5164.Everyone.PNG-550x0

Next step it to generate the URL, so we need to open IE and go to the folowing URL: http:///op/generate.aspx

Use the URL that is next to “InternalURL” when you perform Get-OfficeWebAppsFarm

If you are not using an “InternalURL” then you will obviously have to use “ExternalURL”

Enter the UNC location of the workbook

Click ” Create Link ” and then click “Test this link.”

wapps

So, now we have to methods to access to the file:

http://wapps2013/op/view.aspx?src=%5C%5CWAPPS2013%5CTest%5Cbeone.docx

And an Iframe to insert in a WebApp…

http://wapps2013/op/embed.aspx?src=%5C%5CWAPPS2013%5CTest%5Cbeone.docx

So we can try the previsualization of the file and If this works, then you know the WAC Server can render the workbook and something else is configured incorrectly.

Hope that helps!