无法安装 Asp.net MVC 3 [英] Can't Install Asp.net MVC 3

查看:16
本文介绍了无法安装 Asp.net MVC 3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用网络安装平台和手动安装,但都不起作用.

我正在尝试首先安装 AspNetMVC3ToolsUpdateSetup.exe,但它总是失败并出现致命错误

操作系统版本 = 6.1.7601,平台 2,Service Pack 1操作系统说明 = Windows 7 - x64 Enterprise Edition Service Pack 1命令行 = c:	empext27692setup.exe时区 = 太平洋夏令时间初始 LCID = 1033使用同时下载和安装机制操作:安装包名称 = Microsoft ASP.NET MVC 3 工具更新包版本 = 3.0.20406.0用户体验数据收集政策:AlwaysUploaded适用项目数:5MSI (c:	empext27692AspNetWebPages.msi) 安装成功.Msi 日志:Microsoft ASP.NET MVC 3 工具 Update_20120618_145125927-MSI_AspNetWebPages.msi.txtMSI (c:	empext27692AspNetWebPagesVS2010Tools.msi) 安装成功.Msi 日志:Microsoft ASP.NET MVC 3 工具 Update_20120618_145125927-MSI_AspNetWebPagesVS2010Tools.msi.txtMSI (c:	empext27692AspNetMVC3.msi) 安装成功.Msi 日志:Microsoft ASP.NET MVC 3 工具 Update_20120618_145125927-MSI_AspNetMVC3.msi.txtMSI (c:	empext27692AspNetMVC3VS2010Tools.msi) 安装成功.Msi 日志:Microsoft ASP.NET MVC 3 工具 Update_20120618_145125927-MSI_AspNetMVC3VS2010Tools.msi.txtMSI (c:	empext27692NuGet.msi) 安装失败.Msi 日志:Microsoft ASP.NET MVC 3 工具 Update_20120618_145125927-MSI_NuGet.msi.txtMSI (c:	empext27692AspNetMVC3VS2010Tools.msi) 卸载成功.Msi 日志:Microsoft ASP.NET MVC 3 工具 Update_20120618_145125927-MSI_AspNetMVC3VS2010Tools.msi.txtMSI (c:	empext27692AspNetMVC3.msi) 卸载成功.Msi 日志:Microsoft ASP.NET MVC 3 工具 Update_20120618_145125927-MSI_AspNetMVC3.msi.txtMSI (c:	empext27692AspNetWebPagesVS2010Tools.msi) 卸载成功.Msi 日志:Microsoft ASP.NET MVC 3 工具 Update_20120618_145125927-MSI_AspNetWebPagesVS2010Tools.msi.txtMSI (c:	empext27692AspNetWebPages.msi) 卸载成功.Msi 日志:Microsoft ASP.NET MVC 3 工具 Update_20120618_145125927-MSI_AspNetWebPages.msi.txt最终结果:安装失败,错误代码:(0x80070643),安装过程中出现致命错误."(经过时间:0 00:14:10).

我尝试在这里进行修复,但不是为我工作.

我比您在上面的屏幕截图中看到的更进一步,因为它似乎达到了我认为是 nuget 的内容,然后立即回滚.它发生得太快了,我看不清楚.

我确实安装了 Visual Studios 2010 SP1.

解决方案

您可能需要检查几个选项:

  1. 检查 控制面板 以获取已安装的 MVC 框架版本
  2. 按照 5-4-3 的降序进行卸载
  3. 出现 nuget 错误时尝试以下顺序

<块引用>

  • 卸载 Nuget
  • 安装 MVC
  • 安装最新的 nuget

注意:除了 ASP.NET MVC3,如果你有最新版本的 MVC (4,5,6),你应该记得按降序卸载它们.

I tried with both the web install platform and manually but both don't work.

I am trying to first install AspNetMVC3ToolsUpdateSetup.exe yet it always fails with a fatal error

OS Version = 6.1.7601, Platform 2, Service Pack 1
OS Description = Windows 7 - x64 Enterprise Edition Service Pack 1
CommandLine = c:	empext27692setup.exe
TimeZone = Pacific Daylight Time
Initial LCID = 1033
Using Simultaneous Download and Install mechanism
Operation: Installing
Package Name = Microsoft ASP.NET MVC 3 Tools Update
Package Version = 3.0.20406.0
User Experience Data Collection Policy: AlwaysUploaded
Number of applicable items: 5
MSI (c:	empext27692AspNetWebPages.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPages.msi.txt
MSI (c:	empext27692AspNetWebPagesVS2010Tools.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPagesVS2010Tools.msi.txt
MSI (c:	empext27692AspNetMVC3.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3.msi.txt
MSI (c:	empext27692AspNetMVC3VS2010Tools.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3VS2010Tools.msi.txt
MSI (c:	empext27692NuGet.msi) Installation failed. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_NuGet.msi.txt
MSI (c:	empext27692AspNetMVC3VS2010Tools.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3VS2010Tools.msi.txt
MSI (c:	empext27692AspNetMVC3.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3.msi.txt
MSI (c:	empext27692AspNetWebPagesVS2010Tools.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPagesVS2010Tools.msi.txt
MSI (c:	empext27692AspNetWebPages.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPages.msi.txt
Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:14:10).

I tried to do the fix here but it is not working for me.

I get a bit further than what you see in the above screenshot as it seems to hit what I think is nuget and then instantly rollbacks. It happens so fast I can't get a good look.

I do have Visual Studios 2010 SP1 installed.

解决方案

You may need to check several options:

  1. Check the control panel for installed versions of MVC framework
  2. Follow the uninstall in descending order like 5-4-3
  3. Try the following order when having nuget errors

  • Uninstall Nuget
  • Install MVC
  • Install latest nuget

NOTE: In addition to ASP.NET MVC3, if you have latest versions of MVC (4,5,6) you should remember to uninstall them by descending order.

这篇关于无法安装 Asp.net MVC 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆