Known Installation Issues With ASP.NET MVC

asp.net mvc, asp.net 0 comments suggest edit

I’m working to try and keep internal release notes up to date so that I don’t have this huge amount of work when we’re finally ready to release. Yeah, I’m always trying something new by giving procrastination a boot today.

These notes were sent to me by Jacques, a developer on the ASP.NET MVC feature team. I only cleaned them up slightly.

The sections below contain descriptions and possible solutions for known issues that may cause the installer to fail. The solutions have proven successful in most cases.

Visual Studio Add-ins

The ASP.NET MVC installer may fail when certain Visual Studio add-ins are already installed. The final steps of the installation installs and configures the MVC templates in Visual Studio. When the installer encounters a problem during these steps, the installation will be aborted and rolled back. MVC can be installed from a command prompt using msiexec to produce a log file as follows:

msiexec /i AspNetMVCBeta-setup.msi /q /l*v mvc.log

If an error occurred the log file will contain an error message similar to the example below.

MSI (s) (C4:40) [20:45:32:977]: Note: 1: 1722 2: VisualStudio_VSSetup_Command 3: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe 4: /setup

MSI (s) (C4:40) [20:45:32:979]: 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: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe, command: /setup

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: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe, command: /setup

This error is usually accompanied by a corresponding event that will be logged in the Windows Event Viewer:

Faulting application devenv.exe, version 9.0.30729.1, time stamp 0x488f2b50, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x006c0061, process id 0x10e0, application start time 0x01c9355ee383bf70

In most cases, removing the add-ins before installing MVC, and then reinstalling the add-ins, will resolve the problem. ASP.NET MVC installations have been known to run into problems when the following add-ins were already installed.:

  • PowerCommands
  • Clone Detective

Cryptographic Services

In a few isolated cases, the Windows Event Viewer may contain an Error event with event source CAPI2 and event ID 513. The event message will contain the following: Cryptograhpic Services failed while processing the OnIdentity() call in the System Writer Object.

The article at http://technet.microsoft.com/en-us/library/cc734021.aspx describes various steps a user can take to correct the problem, but in some cases simply stopping and restarting the Cryptographic services should allow the installation to proceed.

Found a typo or error? Suggest an edit! If accepted, your contribution is listed automatically here.

Comments

avatar

7 responses

  1. Avatar for Dexter99
    Dexter99 December 3rd, 2008

    I useed ASP.NET MVC Preview 5 because of the first problem from this post. Now I can use ASP.NET MVC Beta. I had both addins installed. Thanks for the explication!

  2. Avatar for Mortal Creations
    Mortal Creations December 3rd, 2008

    Ah, thanks for the heads up / solution!

  3. Avatar for Mohammad Mahdi Ramezanpour
    Mohammad Mahdi Ramezanpour December 3rd, 2008

    Verrrryyyyy useful post. I recently had some problem when I wanted to upgrade my ASP.NET MVC.

  4. Avatar for haacked
    haacked December 3rd, 2008

    Glad this helped. We're still looking for a fix, but have not been able to nail an automatic workaround to this problem yet. But for the time being, hopefully this post gets you working with it right away while we continue to dig into it.

  5. Avatar for Will Beattie
    Will Beattie January 29th, 2009

    Thanks for this, I was just about to give up.
    Just letting you know that this problem occured for me with Spec# installed.
    Uninstalling fixed the problem. But thought you should know.

  6. Avatar for Peter Kellner
    Peter Kellner February 7th, 2009

    Sadly, I am having this problem exactly (though nothing in the error log), last line of log is ..Installing MVC templates for...
    I have no addin's installed, never installed any previous mvc (this is a fresh vista64 install).
    I've got MVC RC in my project and now I can't access it :(.

  7. Avatar for Ritesh Parkhi
    Ritesh Parkhi November 16th, 2011

    Hello,
    I am facing one one the unknown issue where when i am trying to install Microsoft MVC 1.0 then its getting rollback due to some issue.
    The point where its start rollback while Configuring MVC template on VS.
    I googled but did not find any respective solution.
    Help would be really appriciated.