Click here to Skip to main content
15,889,216 members
Articles / Web Development / ASP.NET

ASP.NET MVC 3 Tools Update Setup Fails with Fatal Error (0x80070643)

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
22 Mar 2013CPOL 13.3K   1
A workaround for error 0x80070643 occurring during the installation of the ASP.NET MVC 3 Tools update

Today, I tried to install the ASP.NET MVC 3 Tools Update. The installation always failed with a fatal error(0x80070643). The log file sent me to the ASP.NET Webpages.msi logfile which had the wonderful error message

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.

The Eventlog had even some additional but equally useless information:

Application: WebConfigCA.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
Stack:
at System.Web.Configuration.VirtualDirectoryMapping..ctor(System.Web.VirtualPath, System.String, Boolean, System.String)
at System.Web.Configuration.VirtualDirectoryMapping..ctor(System.String, Boolean)

After some digging, I found a KB article describing the same error during the installation of MVC 3 or WebPages and the first suggested workaround helped:

Remove the trailing backslash from the following Registry keys:

HKEYLOCALMACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\Path
HKEYLOCALMACHINE\SOFTWARE\Wow6432Node\Microsoft\ASP.NET\4.0.30319.0\Path

I guess someone at Microsoft missed the Path.Combine method. ;)

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionThank You Pin
fpmorrison22-Mar-13 6:11
fpmorrison22-Mar-13 6:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.