Wednesday 24 May 2017

Install NetFramework 3.5 offline


I faced a problem at a customer site last week when I tried to install the .NET Framework 3.5 – a prerequisite for installing SQL Server 2012 on a Windows Server 2012 R2. I opened the Server Manager and then navigated to the Manage, Add Roles and Features section:
b2ap3_thumbnail_pic01.jpg
I selected the .NET Framework 3.5 Features option:
b2ap3_thumbnail_pic02.jpg
I specified an alternate source path:
b2ap3_thumbnail_pic03.jpg
… and surprise! Even though an ISO of Windows Server 2012 R2 was mapped to my D: drive, the installation failed with this strange error: “The source file could not be found…”
After some investigations, I found that this problem is quite common and that Microsoft has published a fix … which unfortunately does not work for me!
I tried the same installation with different ways: command prompt, PowerShel l… but absolutely NO RESULT.
I finally decided to open a PowerShell console to check the Windows Features available on my server with the cmdlet Get-WindowsFeature:
b2ap3_thumbnail_Pic1.jpg
Strangely, the status of the .NET Framework 3.5 is not showing “Available”, but “Removed”!
b2ap3_thumbnail_Pic2.jpg
So, how do I change this state from removed to available?
After some investigations and after having tried some fixes provided by persons who faced to the same problem as me, I finally found the Standalone Offline Installer tool that solved my problem by enabling the .NET Framework 3.5 (many thanks to Abbodi1406).
I downloaded this exe file and executed it on my server.
An installer screen appeared:
b2ap3_thumbnail_pic4.jpg
After clicking on the Next button, a command prompt screen appeared which showed the completion state of the process.
pic6.jpg
As soon as the process was finished, I went back to my PowerShell screen to check if my .NET Framework 3.5 is now available – by running my PowerShell cmdlet Get-WindowsFeature:
b2ap3_thumbnail_pic10.jpg
The .NET Framework 3.5 now was available and I as able to restart the installation process from the beginning by navigating to the server manager, selecting the concerned feature and giving the alternate source path.
pic8.jpg
I finally succeded in installing my .NET Framework 3.5!

credit:https://blog.dbi-services.com/winows-server-2012-r2-failed-to-install-net-framework-35/

1 comment:

  1. This is a basic guide to putting in the Microsoft .NET framework geared toward those that don't have an intensive data of computers. The framework is very important to put in certainly programs to operate properly and it are often a frightening task while not the proper data.if you want to install or want to know more on .NET Framework Offline Installer then please visit our website.

    ReplyDelete