Table of Contents |
---|
Introduction
...
It is of utmost importance to install all other prerequisites (ManagePrerequisite Script) before installing the .NET 3.5 Features
...
.
In case you already did it wrong, run these commands and then install the IIS parts with ManagePrerequisite.ps1 from GIT.
Code Block |
---|
dism /online /disable-feature /featurename:NetFx3 /norestart
dism /online /disable-feature /featurename:WCF-Pipe-Activation45 /norestart
dism /online /disable-feature /featurename:WCF-HTTP-Activation45 /norestart
dism /online /disable-feature /featurename:WCF-TCP-PortSharing45 /norestart |
...
For the installations of the CoreOne Suite, the .NET 3.5 Framework on the Windows Server 2016 and newer versions is absolutely necessary, otherwise the WCF Service cannot be started.
To install the .NET 3.5 Framework on Windows Server, the installation ISO for the installed server OS must be mounted on the server
...
Navigate to “Add Roles and Features” in the Server Manager and select the .Net Framework 3.5 Features.
...
Navigate to “Add Roles and Features” in the Server Manager and select the .NET Framework 3.5 Features.
...
Mount the Windows ISO as d: → D:\Sources\sxs
...
is required
Run the Powershell Script from Administrator Shell
Powershell Script for installing the required .NET 3.5 Features
The above listed required .NET 3.5 Features can be installed thorugh through Powershell.
Call the Powershell about Server Manager - Tools - Windows PowerShell ISE. Copy and Paste the script and Execute it (Play-Button).
Code Block | ||
---|---|---|
| ||
### Please mount the corresponding ISO to your OS Version and define the Source-Folder below .{ $InstalllationSourcesFolderDotNet35 = 'D:\sources\sxs' Write-Host " [i] Check if ISO is mapped." if (Test-Path -Path $InstalllationSourcesFolderDotNet35) { Write-Host " [i] ISO is mounted and Path is accessible:" $InstalllationSourcesFolderDotNet35 " Write-Host " [i] Start Installation of .NET 3.5 Feature" Install-WindowsFeature Net-Framework-Core -source $InstalllationSourcesFolderDotNet35 Add-WindowsFeature NET-HTTP-Activation, NET-Non-HTTP-Activ -source $InstalllationSourcesFolderDotNet35 $restartServer = Read-Host " [?] Finished installing .NET 3.5 Features. Please check the Output for any Errors. It is mandatory to restart the Server before installing the CoreOne Suite or other dependencies. Restart Server now? [y/n]" switch($restartServer) { 'y' { Restart-Computer -Force -Confirm:$false } 'n' { Write-Host " [w] Please make sure to start the } else { Server manually before executing further installation steps." pause } default { Write-Warning " [w] Invalid Input" } } } else { Write-Host " [e] Your ISO for installing .NET 3.5 is not mapped or the given Path is not valid. Installation will abort. Please mount the corresponding ISO to your OS Version and execute the script again. Configured Path: $InstalllationSourcesFolderDotNet35" $InstalllationSourcesFolderDotNet35 } } |