.NET 4.0 Installation problems

Ok I want to explain my situation. I had .NET 4.5 framework installed on my computer but have applications built with Visual Studio .NET using 4.0 framework. I tried to install a 3rd party tool to use within my applications but it requires a 4.0 install. So, I got the .NET 4.0 install and now I am all messed up. I uninstalled 4.5 and installed 4.0 and now I cannot open Visual Studio. When I reboot I get error messages for TFS and another message from MOM.exe and it says I must have 4.5 installed so after not clicking yes I eventually did but to no avail. I am looking to get the .NET 4.0 framework installed so I can move forward. Does anyone have any tips or tricks to get this to work ?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
Go to Stebner's blog and get the .NETFX Setup Verifier Tool.


Download it to a useful spot on your computer .

Now first go to Programs and Features, Windows Features and uncheck both .NET versions. Shut down, start up, go back to Windows Features and check both .NET versions. Allow to complete. restart again.

Now run .NETFX Setup Verifier to verify and correct problems.

Restart again and see if the problem has been fixed.
jknj72Author Commented:
Will try that now John and let you know. Thanks
Jacques Bourgeois (James Burger)PresidentCommented:
4.0 is not needed when you have 4.5, because it is included in 4.5, which is only an extension with added features and a few tweaks to performance and bugs.

After removing everything, you should install 4.5 and stick with it.

When you check to make sure that the right version of the framework is installed, you should usually let the installation go if a newer version is installed. There are exceptions to that rule, such as when moving from 3.x to 4.x, but there is no problem installing a 4.0 application of framework 4.5.

So the problem is with the third party installation program. Communicate with them.

If they are not able to correct the problem, then they do not know how to work with the framework, and I would personnally not use their tool.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

JohnBusiness Consultant (Owner)Commented:
The two check boxes I alluded to are for .NET Framework 3.5 and 4.5. Even so, .NET FX Verifier will show you .NET 4 is there as part. It does on my machine. So really if everything verifies properly, the application should work. Otherwise, yes, call the third party.
jknj72Author Commented:
Thanks for your help John. Everything youve mentioned is correct and I appreciate your help
jknj72Author Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.