ASP.NET MVC fails at install [duplicate] - asp.net-mvc

This question already has answers here:
Closed 14 years ago.
I need some help on asp.net mvc install.
I got the below two errors when I try to install ASP.NET MVC Beta:
Faulting application devenv.exe, version 9.0.21022.8, time stamp 0x47317b3d, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x006c0061, process id 0x11d8, application start time 0x01c949b7447a7a50.
Product: Microsoft ASP.NET MVC Beta -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action VisualStudio_VSSetup_Command, location: D:\Program Files\Microsoft Visual Studio 9.0v2\Common7\IDE\devenv.exe, command: /setup
I uninstalled and then installed Visual Studio but nothing changed.
I have the following configuration:
Visual Studio 2008 sp1,
.net 3.5 sp1,
Windows Server 2008
Does anyone has a solution for this?
Thanks!

have you tried rebooting your machine then trying again?
have you tried re-downloading the installer and trying again?

Related

Unable to install MVC 3

I am attempting to install asp.net MVC 3 to use with Visual Web Developer 2010 Express. I try to install from AspNetMVC3ToolsUpdateSetup.exe. The install log shows this:
MSI (s) (08:E4) [00:22:35:745]: Product: Microsoft ASP.NET MVC 3 -- A
later version of Microsoft ASP.NET MVC 3 is already installed. Setup
will now exit.
A later version of Microsoft ASP.NET MVC 3 is already installed. Setup
will now exit.
I have MVC 2 installed (it came with VWD 2010). I do not see MVC3 or MVC4 in installed programs list. I don't have NuGet installed. How could I manage to install it?
I apparently had a corrupted installation. I was unable to see MVC3 installed in control panel and I was unable to see it in visual studio, but the installer detected it anyway.
I managed to install it by unzipping the installer exe and then running aspnetmvc3vwd2010tools.msi from within it directly. I found that it was the correct msi by accident. Running setup from with in it failed consistently.

Opening project for 2013 in 2012 Visual Studio for MVC gives error

I am getting an error when trying to open a MVC project in Visual Studio 2012. My team is running on 2013 that have been working on it, and I am waiting to be upgraded to 2013, but am trying to get some work done until then. When I open the project, it says it is missing some required Web components needed to run in Visual Studio. "ASP.NET Web pages with Razor 3.0.0.0". So I tried to do a NuGet install for AspNetMVC and did not work. I can open the project and what not, but the features such as adding a new View or Controller are not there. Do I have to wait until I am upgraded to 2013, or am I missing something? Thanks in advance.
Had to re-install WebPages package with NuGet manager. I have no idea why it was jacked, but it was and fixed the problem. Thanks #levelnis.
I had the same issue and had to update my NuGet package manager to the newest version in order to download the missing / corrupted package.

"Unable to evaluate expression" and Async CTP

Some time ago I have installed the Visual Studio Async CTP
And today I have installed ASP.NET MVC 3 (not RC).
I start receiving "Unable to evaluate expression" in debug mode.
So I have uninstalled Async CTP, ASP.NET MVC 3 and all related updates but with no results.
Would be anybody so kind as to help me figure out?
Example message:
Unable to evaluate expression term 'struct'
OK, here is my experience. I finally got it working... and no full uninstall of VS 2010 was required.
First of all, I am not sure if I had installed ASP NET MVC 3 RC or not. I already had ASP NET MVC 3 RTM and then installed Async CTP. I started getting issues described then uninstalled Async CTP and MVC 3, did not help... I later realised I had not done enough:
In control panel:
Uninstall ASP NET MVC 3
Uninstall ASP NET MVC 3 Visual Studio Tools
Uninstall ASP NET Web Pages
Uninstall ASP NET Web Pages Visual Studio Tools
Uninstall Web Matrix
Then click on "View installed updates" in Control Panel->Uninstall A Program:
Uninstall Async CTP
Uninstall kb2483190
Now install ASP NET MVC 3 RTM and it should work.
Apparently this problem arises when both MVC 3 RC and .NET Framework Async CTP are installed on the same machine.
You need to uninstall MVC 3 RC but since it also comes with ASP.NET Web Pages, NuGet and a Visual Studio update those have to be removed along with it.
To proceed open a Visual Studio command prompt* with Administrator privilege and run all of the following commands:
wmic product where name="Microsoft ASP.NET MVC 3 - Visual Studio 2010 Tools" call uninstall
wmic product where name="Microsoft ASP.NET MVC 3 - VWD Express 2010 Tools" call uninstall
wmic product where name="Microsoft ASP.NET Web Pages" call uninstall
wmic product where name="Microsoft ASP.NET Web Pages - Visual Studio 2010 Tools" call uninstall
wmic product where name="Microsoft ASP.NET Web Pages - VWD Express 2010 Tools" call uninstall
wmic product where name="NuGet" call uninstall
msiexec /package {BC0464FA-A0BA-3E38-85BF-DC5B3A401F48} /uninstall {3069D446-63C5-38F4-9D28-41858024419C}
msiexec /package {85076DFF-7A17-3566-9CC0-488E6E6D4494} /uninstall {3069D446-63C5-38F4-9D28-41858024419C}
If the problem still persists however uninstall .NET Framework Async CTP as well.
This error message usually arises when there is a fairly critical error trying to load the language expression evaluator in the debugger or if the expression evaluator itself has a setup issue. The very next thing I would try is to repair the Visual Studio installation. That will almost certainly clear up this error.
Full uninstall all visual studio components helped me.

Problem Installing MVC 2 RC2

System is Windows 7 32 bit fully up2date, Visual Studio 2008 & 2010 RC.
Trying to install AspNetMVC2_RC2_VS2008.exe following the instructions from http://haacked.com/archive/2010/02/10/installing-asp-net-mvc-2-rc-2-on-visual-studio.aspx I keep getting this error
Prerequisite check for system component Microsoft ASP.NET MVC 2 - Visual Studio 2008 Tools failed with the following error message:
"The .NET Framework version 3.5 SP1 is required. You can install the .NET Framework from the Microsoft Web site. Please install a compatible version of the Framework and try installing this release again."
See the setup log file located at 'C:\Users\ME\AppData\Local\Temp\VSDCFD8.tmp\install.log' for more information.
Relevant info from the log file as follows..
Result of running operator 'ValueNotExists' on property 'ValidVS2008SKU': false
Result of running operator 'ValueNotEqualTo' on property 'AdminUser' and value 'True': false
Result of running operator 'ValueLessThan' on property 'Framework35SP1' and value '1': true
Result of checks for command 'MvcToolsVS2008\VS2008ToolsMVC2.msi' is 'Fail'
'Microsoft ASP.NET MVC 2 - Visual Studio 2008 Tools' RunCheck result: Fail
A prerequisite failed for Package "Microsoft ASP.NET MVC 2 - Visual Studio 2008 Tools"
I definitely have .NET 3.5 SP1 installed and up2date...
Try running the installer as administrator by right clicking the installer file and selecting "Run as administrator".

windows 7 asp.net mvc RC

i have a problem with asp.net mvc on windows 7... asp.net mvc RC was previously installed and i installed MVC rtm... it says “the project type is not supported by this installation”... is there anyway to register this project type in to visual studio or unregister the rc version?
Uninstall every ASP.NET MVC installation (in control panel) and reinstall the final 1.0 release. If it didn't help, run Visual Studio command prompt as administrator and run:
devenv /resetskippkgs
Not sure. Helped me once. I hope that works for you.
I had the same issue. You have to install MVC 1.0 even though you may have MVC 2. I did that and it worked for me.
OS Version: Windows 7
IDE: Visual Web Developer 2008 Express

Resources