asp.net-mvc - 我遇到了 asp.net mvc 3 安装错误。0x80070643
问题描述
我想安装 ASP.Net MVC 3,但它给了我错误(0x80070643)和回滚安装。
我有我卸载的 Visual Studio 2017,现在我只有 VS 2012。
我也附上了屏幕截图。
我尝试使用 VS2012 修复安装 ASP.Net mvc3,但它在那里也失败了。
我也尝试在 regedit 键中使用尾随反斜杠,但没有成功。
任何专家意见。
解决方案
在 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>
推荐阅读
- vespa - 查看加载到 vespa 中的所有文档
- r - 需要帮助使用引导程序估计 R 中的标准误差
- laravel - Laravel 5.7只选择关系数据而不循环其他关系
- magento2 - 索引管理。如何重新索引所有内容?
- angular - 调试 Typescript 在 VS 中有效,但在 VS Code 中无效
- python - 在 python 中跳过 quandl 的 ssl 验证
- c# - 如果未选择下拉菜单,如何设置默认值(多选)
- html - 如何将 json 数据从 python 导出并打印到 localhost?
- python-3.x - sqlite-变量表名不适用于删除或插入命令
- javascript - 如何在没有弹出窗口的情况下使用 Google Identity API 和登录?