[英]Error code 0x80070002 when trying to install IIS on Windows 10 Pro 64
I am trying to install IIS on my Windows 10 machine, but keep getting this error:我正在尝试在我的 Windows 10 机器上安装 IIS,但不断收到此错误:
Windows couldn't complete the requested changes.
The system could not find the file specified.
Error code 0x80070002
Any help would be greatly appreciated.任何帮助将不胜感激。
I think this error may be caused by the .net framework, you can try to run the following command:我认为这个错误可能是由.net框架引起的,可以尝试运行以下命令:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -r
Or you can run one of the repair utilities supplied by Microsoft:或者您可以运行 Microsoft 提供的修复实用程序之一:
Microsoft .NET Framework Repair Tool Microsoft .NET 框架修复工具
If you do not have the correct framework, you can download version at the following links:如果您没有正确的框架,您可以在以下链接下载版本:
Download .NET Framework下载 .NET 框架
Once installed, try to install the IIS features again.安装后,尝试再次安装 IIS 功能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.