我在Windows Server 2019上有问题,所有使用.NET的应用程序无法启动。我有4.8版,所有Windows更新。但是我得到了这个错误。我尝试重新安装,使用Fix Tool进行.netFramework,但我无法修复.NetFramework
在此处输入图像描述
I have problem on Windows Server 2019, all application which use .Net cannot be started. I have 4.8 version with all windows update. But I get this error. I tried reinstall, use fix tool for .NetFramework but i cannot fix .NetFramework
enter image description here
发布评论
评论(2)
我们只是找到了这个解决方案。 ( https://techcommunity.microsoft.com/t5/windows-server-for-it-pro/windows-server-2019-and-net-4-8/mp/2660319 )
noreferrer 在Windows更新后,此问题是在Windows Server 2019上安装了.NET Framework(KB5006765)的累积更新,该版本还安装了Azure AD Connect。显然,删除的一堆.NET注册表项目。服务器管理器和基于.NET上的任何软件都无法正常工作...抛出此错误:
此应用程序需要以下版本的.NET框架:v4.0.30319
您现在要安装此.NET框架版本吗?
DSIM和SFC维修不起作用,也没有回滚Windows更新。
在这里找到了一些见解:
最终必须从工作系统中导入这些注册表项目:
We just found this solution. (https://techcommunity.microsoft.com/t5/windows-server-for-it-pro/windows-server-2019-and-net-4-8/m-p/2660319)
I ran into this issue after the Windows Update, Cumulative Update for .NET Framework (KB5006765), was installed on a Windows Server 2019 that also had Azure AD Connect installed. Apparently, a bunch of .NET registry items where deleted. Server Manager and any software built on .NET was not working...throwing this error:
This application requires one of the following versions of the .NET Framework: v4.0.30319
Do you want to install this .NET Framework version now?
DSIM and SFC repairs did not work, nor did rolling back the Windows Update.
Found some insight here:
https://www.bleepingcomputer.com/forums/t/758800/net-48-kills-server-2019/
Ended up having to import these registry items from a working system:
尝试了几种解决方案(DSIM,Damien提到的注册表,几个.NET修复),
最终无法使用,它基于此建议
基本上,您可以从中获得servermanager.exe
(您可以测试它是否从该文件夹执行),然后通过
(您需要管理权)
Tried several solutions (dsim, registry as mentioned by Damien, several .Net fixes) and did not work
Finally, got it working based on this suggestion
Basically, you get the ServerManager.exe from
(you can test if it executes from that folder), and copy it over
(you will need admin rights)