Windows Server 2008上的.NET 4.0安装失败

时间:2012-12-08 03:13:13

标签: .net .net-4.0 windows-server-2008 .net-4.5

我需要部署一个需要.net 4.5的asp net mvc应用程序 我正在尝试安装.NET 4.0,并且在流程结束时遇到致命错误:

这是日志:

OS Version = 6.0.6001, Platform 2, Service Pack 1
OS Description = Win2K8 - x86 Datacenter Edition Service Pack 1
CommandLine = H:\3b4bd74090bffcb407705182\\Setup.exe /x86 /x64 /ia64 /web
TimeZone = E. South America Daylight Time
Initial LCID = 1046
Using Simultaneous Download and Install mechanism
Operation: Installing
Package Name = Microsoft .NET Framework 4 Setup
Package Version = 4.0.30319
User Experience Data Collection Policy: Disabled
Number of applicable items: 11
Exe (H:\3b4bd74090bffcb407705182\SetupUtility.exe) succeeded.
Exe Log File: dd_SetupUtility.txt
ServiceControl operation succeeded!
Exe (C:\Users\ADMINI~1\AppData\Local\Temp\1\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.0-KB956250-v6001-x86.msu) failed with 0x1 - Incorrect function. .
Exe (H:\3b4bd74090bffcb407705182\SetupUtility.exe) succeeded.
Exe Log File: dd_SetupUtility.txt
MSI (C:\Users\ADMINI~1\AppData\Local\Temp\1\Microsoft .NET Framework 4 Setup_4.0.30319\netfx_Core_x86.msi) Installation succeeded. Msi Log: Microsoft .NET Framework 4 Setup_20121209_003156019-MSI_netfx_Core_x86.msi.txt
MSI (C:\Users\ADMINI~1\AppData\Local\Temp\1\Microsoft .NET Framework 4 Setup_4.0.30319\netfx_Extended_x86.msi) Installation succeeded. Msi Log: Microsoft .NET Framework 4 Setup_20121209_003156019-MSI_netfx_Extended_x86.msi.txt
Exe (H:\3b4bd74090bffcb407705182\SetupUtility.exe) failed with 0x80070643 - Fatal error during installation. .
Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:34:55).

在Windows Server 2008上安装.net 4是否有任何限制?

1 个答案:

答案 0 :(得分:3)

要安装.NET 4.5,您应该使用独立安装程序

http://msdn.microsoft.com/en-us/library/5a4x27ek.aspx

如果您确实需要.NET 4.5,则解决.NET 4安装错误是没有意义的。