在Windows 7 -32位操作系统上安装MVC3时出错 [英] Error on Installation of MVC3 at Windows 7 -32 Bit Operating System

查看:130
本文介绍了在Windows 7 -32位操作系统上安装MVC3时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Windows 7 32位计算机上运行MVC 3.我有Visual Studio 2010,可以在其中创建ASP.NET MVC2项目.但是现在,我想在机器上安装MVC 3.所以, 我尝试使用Web Platform Installer从 http://www.asp.net/mvc/mvc3链接.安装后,我在Visual Studio 2010项目模板中找不到ASP.NET MVC 3 Web项目模板. 因此,我再次从同一链接下载了脱机安装程序.但是运行安装程序时出现错误.单击我得到的日志文件:

I want to run MVC 3 on my Windows 7 32 Bit machine. I have Visual Studio 2010 and I can create ASP.NET MVC2 projects there. But now, I want to install MVC 3 in my machine. So, I tried the online installation using Web Platform Installer from http://www.asp.net/mvc/mvc3 link. After installation, I didn't find the ASP.NET MVC 3 Web Project Template in my Visual Studio 2010 Project Templates. So I again downloaded the Offline Installer from same link. But I got error when I ran the installer. Clicking on the Log file I got:


OS Version = 6.1.7600, Platform 2
OS Description = Windows 7 - x86 Ultimate Edition 
CommandLine = h:\temp\ext6142\setup.exe
Using Simultaneous Download and Install mechanism
Operation: Installing
Package Name = Microsoft ASP.NET MVC 3
Package Version = 3.0.11209.0
User Experience Data Collection Policy: Disabled
Number of applicable items: 6
Exe (h:\temp\ext6142\VS10-KB2465236-x86.exe) succeeded.
MSI (h:\temp\ext6142\AspNetWebPages.msi) Installation failed. Msi Log: Microsoft ASP.NET MVC 3_20110118_142652087-MSI_AspNetWebPages.msi.txt
Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:01:39).

推荐答案

从Web平台安装后,我没有在Visual Studio项目模板中检查选定的.NET Framework版本.在MVC 3中创建一个新项目.我的计算机的Visual Studio中的默认.NET Framework为3.5 .因此,项目模板中没有显示 MVC 3项目模板.
而且,在不卸载现有MVC 3的情况下,当我再次想从脱机安装程序安装MVC 3时,出现了我在问题中提到的错误. 可能是由于执行相同的安装或文件在下载时已损坏或其他任何问题而发生的.
稍后,从控制面板卸载MVC 3之后,我再次运行Web平台安装程序以安装MVC 3,这次我检查所选的.NET版本.我选择了 .NET Framework 4,现在在Visual Studio的项目模板中出现了的MVC 3项目模板.

After installing from web platform, I didn't check the selected .NET Framework Version in Visual Studio Project Template when I wanted to create a new project in MVC 3. Default .NET Framework was 3.5 in the visual studio of my machine. So MVC 3 project template wasn't showing in the project templates.
And, without uninstalling the existing MVC 3, when I again wanted to install MVC 3 from offline installer, I got the error I mentioned in my question. It may happened because either performing same installation or the file was corrupted at the time of downloading or any other issue.
Later, after uninstalling MVC 3 from control panel, I again run the web platform installer to install the MVC 3 and this time I check the selected .NET version. I selected .NET Framework 4 and MVC 3 project template is now appeared in visual studio's project templates.

这篇关于在Windows 7 -32位操作系统上安装MVC3时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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