Cannot install .NET 4 framework on Windows 2008 R2 server

We cannot install .NET 4 framework on a Windows 2008 R2 server.  The following is a snipet from the log file:

Log File C:\Users\tturney\AppData\Local\Temp\2\Microsoft .NET Framework 4 Setup_20111228_143038946-MSI_netfx_Core_x64.msi.txt does not yet exist but may do at Watson upload time
 Calling MsiInstallProduct(D:\ac32f3b0d81b08a1fdde54b716\netfx_Core_x64.msi, EXTUI=1
 Returning IDOK. INSTALLMESSAGE_ERROR [Service 'Microsoft .NET Framework NGEN v2.0.50727_X86' (clr_optimization_v2.0.50727_32) could not be stopped. Verify that you have sufficient privileges to stop system services.]
 MSI (D:\ac32f3b0d81b08a1fdde54b716\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20111228_143038946-MSI_netfx_Core_x64.msi.txt
 PerformOperation returned 1603 (translates to HRESULT = 0x80070643)

Action complete
OnFailureBehavior for this item is to Rollback.

  It looks like it hangs on trying to stop the 'Microsoft .NET Framework NGEN v2.0.50727_X86' service, but the service is already stopped (and disabled).  I have been running the installed as administrator, what could be causing this issue?

Tom T.
tturneyAsked:
Who is Participating?
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.

joelsplaceCommented:
Uninstall all the .Net Framwork versions and then run this cleanup tool:
http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx
Then delete the Microsoft.NET folders in Program Files and Windows.
Run CCleaner and delete only the .NET registry leftovers.  Don't delete any Silverlight keys or you will have the same problems with it.
It's a pain but is the only way I've found that reliably fixes the problem.
0

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
bill30Commented:
I see some conflicting .86 and .64's throughout that log.  Could you be trying to load a 32bit .net ontop of a 64bit or vice versa?
0
tturneyAuthor Commented:
Bill,

  The Windows 2008 R2 servers we have all have those two services.  The information I found from MS is that on 32bit versions of Vista, 7 and 2008 only the 32bit version is installed.  For 64bit version, both are installed.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

tturneyAuthor Commented:
Joelsplace,

  I've download the tool and will try it tonight when people are off the system.  Thanks for the link.
0
joelsplaceCommented:
Don't user CCleaner to delete any .NET keys when .NET is installed on the system or it will cause .NET updates to fail.  Only use it to cleanup after you run the other tool and delete the folders.  Good luck.
0
tturneyAuthor Commented:
Well I could not get the .NET 4 framework to install on the server.  The tool seemed to run like it should, but I still can't install .Net 4 framework.
0
joelsplaceCommented:
Did you delete the 2 folders and run CCleaner after the tool?
0
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
Windows Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.