none
Re-installing (or repairing) .NET 4.6.2 on Server 2016 RRS feed

  • Question

  • I just installed SfB server 2015 on a dedicated server running Windows 2016 (LTSB). I am seeing some "Windows Fabric" crash errors in the Application event log and it looks like I need to repair or uninstall\re-install .NET. I am struggling to figure out how to do this.

    If I run "Dism /online /enable-feature /featurename:Netfx3 /source:C:\Sources\sxs" (without the quotes) from an elevated command prompt does this take care of it (c:\sources\sxs exists on my server)? Does this do a repair or a re-install, and does it do it for all .NET versions that are installed? I ran the command and it runs so quickly that I really don't think anything is occurring. It just comes back and says it was completed successfully.

    The NetFxRepairTool program is only useful if .NET won't install, you run it and see if it corrects the issue(s) that is preventing the install of .NET.

    I have tried the .NET 4.6.2 offline installer, thinking it would re-install .NET 4.6.2, but it doesn't run because 4.6.2 is already installed (a message box pops up telling you it is already installed).

    Jason



    • Edited by Jack Leidu Tuesday, August 13, 2019 6:39 PM
    Tuesday, August 13, 2019 6:29 PM

Answers

  • Hi Jason,

    Welcome to the MSDN forum.

    Is your computer's operating system win10 (LTSB) 2016 version or windows sever 2016? Please open “start”->settings->system->about to check it. The NetFxRepairTool does not work in windows 10 and Windows sever 2016, it supports some old operating systems

    >>If I run "Dism /online /enable-feature /featurename:Netfx3 /source:C:\Sources\sxs" (without the quotes) from an elevated command prompt does this take care of it (c:\sources\sxs exists on my server)?

    • "c:\sources\sxs" This location is the location where the operating system installation ISO is mounted.
    • This command is used to install the .NET Framework 3.5, it seems you want to repair 4.6.2, which is not applicable for this condition

    >>I have tried the .NET 4.6.2 offline installer, thinking it would re-install .NET 4.6.2, but it doesn't run because 4.6.2 is already installed

    • The Win 10 (1607) version and Windows Server 2016 will come with .NET 4.6.2, you can use the control panel to use it. Here is .NET Framework versions and dependencies

    Since you already installed the .NET Framework 4.6.2 and if you run the .NET Framework 4.6.2 offline installer, if you click ‘Repair’ option to repair, it works fine or not?

    BTW, what the SFB server 2015 do you mean? Could you please share the detail crash error message in the Application event log? That will help us analysis this issue, thanks for your understanding.

    Best regards,

    Sara


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    • Marked as answer by Jack Leidu Thursday, August 15, 2019 2:07 PM
    Wednesday, August 14, 2019 8:05 AM
    Moderator
  • The solution was installing .NET 4.7.2
    • Marked as answer by Jack Leidu Monday, August 26, 2019 2:18 PM
    Monday, August 26, 2019 2:18 PM

All replies

  • Hi Jason,

    Welcome to the MSDN forum.

    Is your computer's operating system win10 (LTSB) 2016 version or windows sever 2016? Please open “start”->settings->system->about to check it. The NetFxRepairTool does not work in windows 10 and Windows sever 2016, it supports some old operating systems

    >>If I run "Dism /online /enable-feature /featurename:Netfx3 /source:C:\Sources\sxs" (without the quotes) from an elevated command prompt does this take care of it (c:\sources\sxs exists on my server)?

    • "c:\sources\sxs" This location is the location where the operating system installation ISO is mounted.
    • This command is used to install the .NET Framework 3.5, it seems you want to repair 4.6.2, which is not applicable for this condition

    >>I have tried the .NET 4.6.2 offline installer, thinking it would re-install .NET 4.6.2, but it doesn't run because 4.6.2 is already installed

    • The Win 10 (1607) version and Windows Server 2016 will come with .NET 4.6.2, you can use the control panel to use it. Here is .NET Framework versions and dependencies

    Since you already installed the .NET Framework 4.6.2 and if you run the .NET Framework 4.6.2 offline installer, if you click ‘Repair’ option to repair, it works fine or not?

    BTW, what the SFB server 2015 do you mean? Could you please share the detail crash error message in the Application event log? That will help us analysis this issue, thanks for your understanding.

    Best regards,

    Sara


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    • Marked as answer by Jack Leidu Thursday, August 15, 2019 2:07 PM
    Wednesday, August 14, 2019 8:05 AM
    Moderator
  • Hello Sara, thank you for the response.

    SfB - Skype for Business server 2015. The server in question is running Windows Server 2016 Standard, version 1607 (which is LTSB).

    Yes, I am trying to repair .NET 4.6.2 to see if it resolves an error we see in the Application event logs every 3 hours for FabricDCA.exe (Event ID 1026 and 1000 at the same time).

    The Offline installer, once launched, won't run because 4.6.2 is already installed (it doesn't give me an option to run a repair or re-install). I run it as an administrator, it extracts the file, then pops up a message that the installation will not occur because it is already installed. I am attaching a screen shot of the 2 application event logs. We've been told to try and repair .NET first, which makes sense....just not sure how to do it.


    • Edited by Jack Leidu Wednesday, August 14, 2019 2:35 PM
    Wednesday, August 14, 2019 2:32 PM
  • I don't believe repairing .NET framework will help.
    - the error is only every 3 hours: when the framework is damaged, it would probably crash every time
    - I can't find any assemblies named "System.Fabric...." on my system, so they seem to be not a part of the .NET framework but from a separate install
    - the UnauthorizedAccessExeption in a method named "FabricDirectoryDelete" sounds more like a permission problem / or access sharing problem
    Wednesday, August 14, 2019 8:35 PM
  • I appreciate you taking the time to post a response. I figured out how to remove\re-install .NET. If that does not solve the issue then we will re-install Windows Fabric.
    Wednesday, August 14, 2019 9:02 PM
  • Hi Jason,

    Thank you for your update.

    According to the information you replied, I have the following suggestions:

    1. The .Net framework 4.6.2 shipped with Windows server 2016, which means we cannot uninstall it

    2. You can use DISM or SFC command to check and repair the system file if it be corrupted:

          Use “DISM”

    • Run “cmd” as an administrator
    • Use the following command to check if the system is damaged.

    Dism /Online /Cleanup-Image /ScanHealth

    Note:  It might take several minutes for the command to complete

    • Repair system image file

    Dism /Online /Cleanup-Image /RestoreHealth

    Note:  It might take several minutes for the command to complete

          Use “SFC”

    • Run “cmd” as an administrator and enter  ”sfc /scannow”

    For more detail information, please check this doc.

    After that, if this issue persist, please consider re-install the Windows Fabric. If your OS is healthy, the pre-installed .NET Framework 4.6.2 should also integrity.

    Best regards,

    Sara


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Thursday, August 15, 2019 8:25 AM
    Moderator
  • The solution was installing .NET 4.7.2
    • Marked as answer by Jack Leidu Monday, August 26, 2019 2:18 PM
    Monday, August 26, 2019 2:18 PM
  • Hi Jack,

    Thanks for your sharing and we are so glad to hear that your issue is solved.

    If you have any issues in the future, please feel free to let us know.

    Best regards,

    Sara


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Tuesday, August 27, 2019 1:51 AM
    Moderator