locked
MVC update (KB2990942) and Azure Pack Websites problem RRS feed

  • General discussion

  • Recently an update was pushed out for MVC that was to address a security issue.  The details on that update are here:http://www.microsoft.com/en-us/download/details.aspx?id=44533

    This update had an unfortunate side effect in that it broke Windows Azure Pack (WAP) Websites causing the worker roles to go into a constant state of auto repair.

    The workers will have errors that look something like this:

    Beginning a Windows Installer transaction: E:\TEMP\Mvc2_4jxu00ev.pkk\AspNetMVC2.msi. Client Process Id: 2588.
    Product: Microsoft ASP.NET MVC 2 -- A later version of Microsoft ASP.NET MVC 2 is already installed. Setup will now exit.
    Product: Microsoft ASP.NET MVC 2 -- Installation failed.
    Windows Installer installed the product. Product Name: Microsoft ASP.NET MVC 2. Product Version: 2.0.50217.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.
    Ending a Windows Installer transaction: E:\TEMP\Mvc2_4jxu00ev.pkk\AspNetMVC2.msi. Client Process Id: 2588.
    Beginning a Windows Installer transaction: e:\temp\ext47334\AspNetMVC3.msi. Client Process Id: 3804.
    Product: Microsoft ASP.NET MVC 3 -- A later version of Microsoft ASP.NET MVC 3 is already installed. Setup will now exit.
    Product: Microsoft ASP.NET MVC 3 -- Installation failed.
    Windows Installer installed the product. Product Name: Microsoft ASP.NET MVC 3. Product Version: 3.0.20105.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.
    Ending a Windows Installer transaction: e:\temp\ext47334\AspNetMVC3.msi. Client Process Id: 3804.

    The Controller roles will have errors that look like this:

    Failed to run operation 'RunRemote'.  Operation failed to complete.
    Failed to run method 'Microsoft.Web.Farm.InstallProductsRemoteMethod' on server 'DW2-DWP501.redmond.corp.microsoft.com'.  Exception in response stream
    The product 'ASP.NET MVC 2' did not install successfully.
    Exception in response stream
    The product 'ASP.NET MVC 2' did not install successfully.

    Since it will be a little while until we can get an update to WAP Websites out that resolves this issue, here is a manual work around.

    On the controller host, go to C:\HostingOfflineFeed\feeds\WebSites_v2.0-7.9.3.0 (or other WAP Websites_v2.0 folder if it is an old release) to replace the MVC 2 discovery hint with the correct one. 

    1. Save a copy of C:\HostingOfflilneFeed\feeds\WebSites_v20-7.9.3.0\WebSites0.9.0.xml
    2. Edit the C:\HostingOfflilneFeed\feeds\WebSites_v20-7.9.3.0\WebSites0.9.0.xml

    Replace this:

        <discoveryHint>
           <!-- MVC 2 Runtime (RTM) -->
          <msiProductCode>{1803A630-3C38-4D2B-9B9A-0CB37243539C}</msiProductCode>
        </discoveryHint>

    With this:

        <discoveryHint> 
          <!-- MVC 2 Runtime (RTM) --> 
          <file> 
            <filePath>%ProgramFiles(x86)%\Microsoft ASP.NET\ASP.NET MVC 2\Assemblies\System.Web.Mvc.dll</filePath> 
            <minimumVersion>2.0.50217.0</minimumVersion> 
          </file> 
        </discoveryHint>

    1. Reboot the controller machine. 
    2. If you have multiple Controllers you need to repeat the above steps on each Controller role

    At this point you should be functional again.

    Friday, November 21, 2014 8:22 PM

All replies

  • Perfect, this is exactly what I needed..

    Jack Starke It is every man's obligation to put back into the world at least the equivalent of what he takes out of it. Albert Einstein

    Friday, November 21, 2014 10:39 PM
  • Thanks for sharing this work around. I have ran into this same problem several times in the past few months.
    Wednesday, March 18, 2015 3:38 AM