【问题标题】:I am having asp.net mvc 3 installation error. 0x80070643我有 asp.net mvc 3 安装错误。 0x80070643
【发布时间】:2018-09-26 05:37:36
【问题描述】:

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

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

我也附上了屏幕截图。

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

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

任何专家意见。

【问题讨论】:

  • 查看类似问题:thisthisthis。其中一个可能与您当前的问题相符。
  • 不。 @TetsuyaYamamoto 这些是相关的并尝试过但没有运气。

标签: asp.net-mvc


【解决方案1】:

Error when installing ASP.NET MVC 3 Tools Update

Can't Install Asp.net MVC 3

Error on Installation of MVC3 at Windows 7 -32 Bit Operating System

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

我按照以下步骤解决了;

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>

【讨论】:

    猜你喜欢
    • 2012-01-08
    • 1970-01-01
    • 2012-06-20
    • 1970-01-01
    • 1970-01-01
    • 2022-06-11
    • 2022-07-23
    • 2011-05-23
    • 1970-01-01
    相关资源
    最近更新 更多