Can't install ASP.NET MVC3 RTM? - installation

I'm trying to upgrade from ASP.NET MVC3 RC to RTM? I can't get past upgrading the vs10-kb2483190-x86.exe installer. I get this error in the error log:
Do I need to uninstall the Windows Phone SDK first? Should I hunt for GUIDs in the registry?

The installer appears to launch devenv.exe behind the scenes. I decided to launch VS2010 to see if it would "unlock" something. After it launched, I closed it and the installer started progressing.

Actually, it did work - I just ran for the second time...
When you run .msp, it pops a prompt that "the network resource for Visual Studio installation files is not available". Once you update the location of vs_setup.msi everything else works fine. I didn't have to run MSIs in sequence as the post suggests - once location was correct, I just ran MVC3 installation executable, and everything got installed fine.
It looks like platform installer and MVC3 setup just fail and, worse, swallow the root cause problem.

I finally gave up and reinstalled windows when I got a new CPU/Motherboard. Took care of it, not that I suggest this solution for everyone.

Related

Silverlight 5.0 debugging issue on Windows 10

I've recently upgraded my OS to Windows 10. I have a very basic Silverlight 5 application which gives me Unable to start Debugging. The Silverlight Developer Runtime Not Installed. Please Installed a matching version error in VS 2010 whenever I am trying to run the project.
I have :
Target Silverlight version is set to Silverlight 5 in web project.
I have installed Silverlight SDK, Silverlight5_Tools with SP1 installed & Silverlight Runtime which is 64-bit.
After doing all these steps and going through many online posts, still I'm unable to resolve this issue.
My Doubts are :
Do the Windows 10 upgrade has anything to do with this situation?
Windows 10 comes with a new browser Edge, is this because of this browser? Like Silverlight compability.
Again I am not sure but these are my doubt. Any suggestions?
Do you have a 64 bit OS ?
If so - uninstall Silverlight (developer!) and make sure you install the silverlight.exe (developer!) not the 64 bit version.
That worked for me.
HTH
Go to the properties of the Web folder start project. Click Web on the left tab. Unclick Silverlight in the debuggers.
Not a total solution but at least it allows you to debug other portions.
I had this issue and Uninstalling and Reinstalling didn't work.
Error in debug mode (F5 Debug solution configuration) was "Unable to start debugging. The Silverlight Developer Runtime is not installed"
In Debug configuration I would get the above error but finally I put the solution into release mode and it worked - then back to debug mode and everything worked without error.
Seems like a really odd fix but sure enough closing and re-opening the solution everything works now - Same install procedure as OP.
Another thing that's interesting is, the Debug only works in Chrome. If I target IE or edge I still get "Unable to start debugging. The Silverlight Developer Runtime is not installed"
I uninstalled Silverlight and then installed Silverlight_Developer.exe. I also switched default browser in Visual Studio to Internet Explorer (I have Edge otherwise which won't work...).
Nice to see some more people also using Silverlight these days, hehehe.
This is a really old thread, but I just ran into this issue with a project. I was getting the message that the Developer runtime was not installed, but in fact it was, and another similar project ran just fine on the same machine with the same version of VS 2015.
The fix was to ensure that the startup project is the WEB project, not the Silverlight project. Somehow, the default startup project got switched to the SL project. After I switched back, then it worked just fine.

Problems with installation of VS 2012 (.Net is missing)

I'm having trouble installing Visual Studio 2012. When I run the installer I get the message:
Microsoft .NET Framework required for Microsoft Visual Studio Professional 2012 setup
The first time I got this message, I clicked to install. It loaded some stuff but it didn't look like it installed anything. I ran the installer for VS 2012 again and I get the same message but now without any buttons to click on. Is there any solution to this?
What happened before
I had VS 2012 already up and working. I left it alone for quite a while until I decided I wanted to do some programming again. Starting the application resulted suddenly in an error:
Cannot find one or more components. Please reinstall the application.
After searching for a couple of hours I couldn't resolve the problem so I did as it asked and reinstalled VS, but I got the same error again. Then I tried to remove every single application VS installs as indicated by this list and any program that had a similar name. I also removed all .NET versions and C++ redistributables. Now I can't install VS anymore and some games and gadgets are now broken.
And I always, always, always forget the existence of system restore. I doubt my oldest system restore is old enough. This is going to be my last resort.
What I tried
Search for a .NET installation in the control panel, it's not present after clicking the install button on the prompt of the VS 2012 installer.
Reinstall .NET 4.5 using this installer. It installs correctly, but the problem persists.
Turning .NET 3.5.1 off from windows features and install it manually. This fails for an unknown reason (error code -2145124329, which seems undefined). Just turning it off doesn't work either.

Windows Phone Application Project Type Unavailable in VS2010

I recently had to reinstall the OS on my dev box and I am now in the process of reinstalling various applications. I had previously installed the WP7 SDK without any problems but unfortunately I'm having problems this time around. The only project type I have available in the Silverlight for Windows Phone category is one that I downloaded from the online templates section.
When I try to open it or any of the WP7 projects I created previously I get a "The project type is not supported by this installation." error. I am not sure what I am missing. I have followed the three steps listed here so I've installed the SDK, the Dev Tools and the Dev Tools fix. The installation of VS2010 itself seems to be fine as I can create ASP.NET and Silverlight applications and run them without any problems.
Has anyone encountered something like this before?
Edit: I have installed Service Pack 1 for VS 2010 but that hasn't helped unfortunately.
Edit: I have also re-installed the Windows Phone Dev Tools and that installation reported no errors but I still get no projects under the Silverlight for Windows Phone category.
Try opening a visual studio command prompt and typing:
devenv /ResetSkipPkgs
I have thankfully resolved this. Last night I uninstalled everything and reinstalled again but this time I made sure to right-click on each executable and select "Run as administrator". That seems to have done the trick as my existing WP7 projects are compiling and running successfully and I can create new ones too. I did run into two error messages however -
"Zune software is not launched. Retry after making sure that Zune software is launched". I got around this initially by setting the target to Windows Phone 7 Emulator instead of Windows Phone 7 Device in the target dropdown on the main toolbar.
"Error: Connection failed because of invalid command-line arguments." I got around this by rebooting as mentioned here.

MVC3 Re-installation VS2010 SP1

I've looked here and the link in the solution but I'm still having problems. I had Visual Studio 2010 with SP1 beta and MVC3 installed but encountered no Intellisense on cshtml files and problems with System.Web.Helpers not being found.
Downloaded the released VS2010 SP1 and installed this (as recommended, over the beta) and still had the issue so uninstalled MVC3.
Now I can't install MVC3 at all, the log shows VS10-KB2483190-x86.exe) failed with 0x80070643 - Fatal error during installation and even when opening the MVC3 exe in 7-zip and installing components individually as per the blog.
Has anyone else had a similar problem that they manage to solve?
This blog did work, as described in the question. Downloaded the standalone installer of MVC3 and got the individual files using 7-zip.
Beforehand, I uninstalled ASP.NET Web Pages with a guide in this post which talks about removing trailing slashes from the registry first.
Now MVC3 works and also the System.Web.Helpers and IDependencyResolver is found which was another reason for re-installing.
Get your visual studio dvd, or download the iso trial and mount it. Then run the mvc3 setup. I ran the vs10-kb2483190-x86 by itself and it complained about not finding the vs setup.msi from the dvd.
I was unable to install MVC with the same error and Paul's solution worked for me. Many thanks. I did not have to perform the Registry mods in my particular case though. So,
Uninstall Microsoft ASP .NET Web Pages from Add/Remove Programs
Run the setup for MVC 3. This will unpack the setup files to C:\Temp\ext47334
Run C:\Temp\ext47334\aspnetwebpages.msi
Run the rest of the msis in C:\Temp\ext47334
I had the same problem of a failed installation using the web installer (though it reported success). But in my case, I had already installed MVC4 before I tried installing MVC3.
I downloaded the offline installer, which failed with the same error as above. I then tried both suggestions of inserting the VS2010 DVD, and changing the registry paths as described, but neither worked. I then tried first uninstalling the MVC3 stuff from Program and Features in Control Panel. This time the installation got further than before, but failed on installing NuGet. So I uninstalled NuGet and reran the installer, this time with success! I then had to reinstall NuGet by downloading the latest version from the http://nuget.org/.

ASP.NET MVC 3 RC VS10-KB2385361-x86 error (freezing)

I think I'm cursed in some way... I had errors while installing MVC 3 beta. and now the same thing with MVC 3 RC. I've read about this problem here : http://haacked.com/archive/2010/11/09/asp-net-mvc-3-release-candidate.aspx. But after uninstalling all the mvc-beta-nuget-asppages stuff I have the same thing hanging - this VS10-KB2385361-x86 error.
I'm on Win7 x64, and using VS 2010 x64. What might be the solution to all this? (I don't want to reinstall the whole VS because of it).
OK. I've managed to install it (after 2 days trying).
Here is what I've done:
Uninstalled ASP.NET MVC 3 run-time components,ASP.NET Web Pages run-time components. (doesn't work after this);
Reinstalled VS 2010 ( still freezes);
Launched VS (just did some work, nothing special, just writing code), then I tried installing MVC 3 RC again (it got frozen), after a while I launched installer again having the firs one opened (it prompted some message saying another installation is running), and some real magic happened because first installer suddenly started working and installed whole thing.
Don't know how it works, but everything is running well (so far).
I found this problem yesterday, but i resolve it today, ohye
1、unzip AspNetMVC3Setup.exe to a folder
2、In the AspNetMVC3Setup folder, you can install aspnetwebpages.msi and aspnetmvc3.msi and other install
I am a chinese ,so I english is not good, I found other people has the same prblem, hope you can tell them
This is due to it needing the visual studio cdrom. If you installed from MSDN mount the iso and it should work. Just tested this and it worked.
I had the same problem on Windows 7 32-bit on the first attempt, but it worked on the second try with no changes to the system. If you see this issue it's worth retrying at least one more time before trying other things.

Resources