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

好久不见. 提交于 2019-12-05 07:04:00

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.

Marvin

My computer had trouble uninstalling an older MVC3 RC. Fix:

  1. Remove the trailing backslash from the following registry keys:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\Path
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\ASP.NET\4.0.30319.0\Path
    
  2. Uninstalled the old version of "Microsoft ASP.NET Web Pages".

  3. Add the trailing backslash back to those keys.
  4. Install MVC 3.

Full uninstall instructions: http://drew-prog.blogspot.com/2010/11/how-to-uninstall-microsoft-aspnet-mvc-3.html

In any case it's good idea to download the offline installer. The web one doesn't care about error messages, and just shows success.

In my case it was c# async CTP that was blocking the installation - the offline installer at least told me so:)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!