Click here to Skip to main content
15,881,671 members
Articles / Web Development / ASP.NET
Tip/Trick

ASP.NET MVC 4 for Visual Studio 2010 Installation Errors - Incompatible with .NET 4.5 or Earlier, Upgrade to .NET Framework 4.5 latest version

Rate me:
Please Sign up or sign in to vote.
3.77/5 (4 votes)
27 Sep 2012CPOL1 min read 61K   2
ASP.NET MVC 4 for VS2010 Installation Errors, 0x81f40001 - This product is incompatible with .NET 4.5 or earlier. You must upgrade to .NET Framework 4.5 to the latest version before installing this product, with Web Platform Installer and MSI.

Introduction

When you install ASP.NET MVC 4 for Visual Studio 2010, if you are already using 4.5 Framework in your box, then you might get some strange errors.

Background

In my case, my box was already having .NET Framework 4.5 RC and I wanted to install ASP.NET MVC 4 for Visual Studio 2010.

I tried using the standalone installer for ASP.NET MVC 4 for Visual Studio 2010, but it throws me the below error:

Image 1

Ohh Mad | :mad: ...Very Strange, error says that Visual Studio 2010 needs .NET Framework 4.5! I thought it might be some problem with the standalone setup, so I thought of using the Web Platform Installer, and it also gave some similar error, see the screenshot below.

Image 3

Solution

To resolve this issue, I removed the .NET Framework 4.5 RC from the local box.

Visual Studio 2010 - ASP.NET MVC 4 Installation Errors- 0x81f40001 - This product is incompatible with .NET 4.5 or earlier, You must upgrade to .NET Framework 4.5 to the latest version before installing this product. Shemeer

Wait... there is one more thing you need to do.

Uninstalling the .NET Framework 4.5 also removes pre-existing .NET Framework 4 files. If you want to go back to the .NET Framework 4, you must reinstall it and any updates to it.

If you are not installing .NET Framework 4.0 after uninstallation of Framework 4.5, then you will get another error saying something like 'Framework 4.0 not found".

Please let me know if you found any other solution for this issue.

You might be interested in checking out Visual Studio 2010- Unknown Error after uninstallation of Framework 4.5.

History

  • 28th September, 2012: Initial version

License

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


Written By
Architect
India India
Technical Manager/ Software Architect | CodeProject MVP | Visual Studio Marketplace Contributor | Author | Geek | Netizen | Husband | ChessPlayer

Most of my articles are listed on top 5 of the respective 'Best articles of the month' and some of my articles are published on ASP.NET WebSite's Article of the Day section.

Check my contributions in Visual Studio Marketplace and Code Project

Technical Blog: https://shemeerns.wordpress.com/
Facebook: http://facebook.com/shemeernsblog
Twitter : http://twitter.com/shemeerns
Google+ : http://google.com/+Shemeernsblog

Comments and Discussions

 
Question"Ohh ...Very Strange, error says that Visual Studio 2010 needs .NET Framework 4.5!." Pin
stooboo28-Sep-12 0:03
stooboo28-Sep-12 0:03 
AnswerRe: "Ohh ...Very Strange, error says that Visual Studio 2010 needs .NET Framework 4.5!." Pin
Shemeer NS28-Sep-12 0:08
professionalShemeer NS28-Sep-12 0:08 
Smile | :)
Thanks for the URL..

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.