首页 > 解决方案 > 我遇到了 asp.net mvc 3 安装错误。0x80070643

问题描述

我想安装 ASP.Net MVC 3,但它给了我错误(0x80070643)和回滚安装。

我有我卸载的 Visual Studio 2017,现在我只有 VS 2012。

我也附上了屏幕截图。

我尝试使用 VS2012 修复安装 ASP.Net mvc3,但它在那里也失败了。

我也尝试在 regedit 键中使用尾随反斜杠,但没有成功。

任何专家意见。

在此处输入图像描述

标签: asp.net-mvc

解决方案


安装 ASP.NET MVC 3 工具更新时出错

无法安装 Asp.net MVC 3

在 Windows 7 -32 位操作系统上安装 MVC3 时出错

如果以上链接不适合您,请尝试以下链接;这将永远为你工作。

我在执行以下步骤后解决了它;

1. copy following directory from your colleague/friend computer to same path on your machine who have properly installed ASP.Net MVC3. C:\Program Files (x86)\Microsoft ASP.NET
(make sure they have ASP.Net MVC 3 folder inside with assemblies) 

2. reference following dlls from these folder into your mvc project;
System.Web.Mvc from C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies 
System.Web.WebPages from C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies
System.Web.WebPages.Razor from C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies
System.Web.Helpers from C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies

3. apply  assemblybinding in web.config 

<runtime>
 <assemblyBinding>
 <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
        <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="your mvc dll version you need 3.0.0.0 or 3.0.0.1"/> 
      </dependentAssembly>
 </assemblyBinding>
  </runtime>

推荐阅读