Updated: what to do if other .NET Framework setup troubleshooting steps do not help


A while back, I posted a set of instructions that can be used to try to resolve .NET Framework installation issues in case other troubleshooting steps listed on my blog, in knowledge base articles or elsewhere do not work.  Those steps are out of date now because several new versions of the .NET Framework have been released since then, a new verification tool has been released and there are some other helpful steps that are not listed there.  Instead of trying to update those steps in that old post, I decided to write a replacement post that contains the new information.

I have created a .NET Framework troubleshooting guide that contains links to information about various types of .NET Framework installation issues that we’ve seen over the years.  However, the links in that article do not cover all possible errors, and there are likely some scenarios that cannot be resolved by any of the workarounds listed in that article.

If you run into an issue installing or using the .NET Framework or a .NET Framework hotfix or service pack, and the links in the .NET Framework troubleshooting guide do not help, I usually suggest trying the following steps in order to get your system back into a known state and then re-installing the .NET Framework and any hotfixes or service packs that apply to it:

  1. Go to the Add/Remove Programs control panel and attempt to repair the version of the .NET Framework that is causing problems on the system

    Note: There are a few versions of the .NET Framework that are installed as OS components, and therefore will not appear in Add/Remove Programs.  The .NET Framework 1.0 is an OS component on Windows XP Media Center and Tablet PC Editions.  The .NET Framework 1.1 is an OS component on Windows Server 2003.  The .NET Framework 2.0 and 3.0 are OS components on Windows Vista and Windows Server 2008.  The .NET Framework 2.0, 3.0 and 3.5 are OS components on Windows 7.  The .NET Framework 2.0, 3.0, 3.5 and 4.5 are OS components on Windows 8.

  2. If a repair does not help, then try to download and run the .NET Framework Repair Tool to see if it can find and fix any issues with the .NET Framework on your computer.
  3. If the repair tool does not help, then go to the Add/Remove Programs control panel and attempt to uninstall the version of the .NET Framework that is causing problems on the system
  4. If uninstall still fails from Add/Remove Programs, download the .NET Framework cleanup tool and choose to remove the version of the .NET Framework that is causing problems on your system
  5. Download and install the version of the .NET Framework that you cleaned up in step 2 or 3.  Here are some download links for various versions of the .NET Framework:

    .NET Framework 1.0
    .NET Framework 1.1
    .NET Framework 2.0
    .NET Framework 3.0
    .NET Framework 3.5
    .NET Framework 4
    .NET Framework 4.5
    .NET Framework 4.5.1
    .NET Framework 4.5.2
    .NET Framework 4.6
    .NET Framework 4.6.1

    Note – if you are having trouble installing the .NET Framework 2.0, 3.0 or 3.5, I recommend trying to installing the .NET Framework 3.5 SP1 because it will install the .NET Framework 2.0 SP2 and 3.0 SP2 behind the scenes, and these versions contain additional fixes not in the original 2.0, 3.0 or 3.5 releases.  Plus, 3.5 SP1 will automatically uninstall any older versions of 2.0, 3.0 or 3.5 that are on your system, so you can save some time by not trying to install a version of the .NET Framework that 3.5 SP1 is going to uninstall during its install process.

  6. (optional) Download and run the .NET Framework verification tool to double-check that the version of the .NET Framework that you installed in step 2 installed correctly
  7. Download and install any service packs or hotfixes for the version of the .NET Framework you just installed by running the setup package directly instead of using Windows Update.  Running it directly will allow the service pack or hotfix to display error dialogs (whereas, Windows Update will automatically suppress any error dialogs).  Here are some download links for various .NET Framework service packs:

    .NET Framework 1.0 SP3
    .NET Framework 1.1 SP1
    .NET Framework 3.5 SP1 family update; there are several versions depending on what OS you are running – Windows XP and Server 2003 x86, Windows XP and Server 2003 x64, Windows Vista and Server 2008 x86, Windows Vista and Server 2008 x64

    Note – the .NET Framework 2.0 SP1 and SP2 and 3.0 SP1 and SP2 are slipstream replacements for the original versions of 2.0 and 3.0, and the .NET Framework 3.5 SP1 is a slipstream replacement for the original version of 3.5.  You do not need to install 2.0 then SP1 and SP2, 3.0 then SP1 and SP2, or 3.5 then SP1 as separate steps like you do for 1.0 and 1.1.  Instead you can skip directly to installing 2.0 SP2, 3.0 SP2 and 3.5 SP1.

.NET Framework setup log file locations

If none of the above help, then it can be useful to look at the .NET Framework setup log files for more in-depth troubleshooting.  Here are links to information about the log files created by each version of the .NET Framework:

The .NET Framework 1.0 and 1.1 are not listed above because they do not create log files automatically.  You need to use steps like the ones listed in this blog post in order to create log files for .NET Framework 1.0 and 1.1 setup.

.NET Framework setup packaging notes that affect uninstalls

The .NET Framework 1.0, 1.1 and 2.0 are all side-by-side versions that can be installed and uninstalled without affecting the others.  This means that if you are running into an issue in the .NET Framework 2.0, for example, you do not necessarily need to remove the .NET Framework 1.0 and 1.1 in addition to removing 2.0.

The .NET Framework 3.0 is an add-on that requires the .NET Framework 2.0 to be present as a prerequisite.  If you have the .NET Framework 3.0 installed, you will not be allowed to uninstall the .NET Framework 2.0 until you first uninstall the .NET Framework 3.0.

The .NET Framework 3.5 is an add-on that requires the .NET Framework 2.0 SP1 and the .NET Framework 3.0 SP1 to be present as prerequisites.  If you have the .NET Framework 3.5 installed, you will not be allowed to uninstall the .NET Framework 3.0 SP1 or 2.0 SP1 until you first uninstall the .NET Framework 3.5.  You will also not be allowed to uninstall the .NET Framework 2.0 SP1 until you first uninstall the .NET Framework 3.5 and the .NET Framework 3.0 SP1.

The .NET Framework 3.5 SP1 is an add-on that requires the .NET Framework 2.0 SP2 and the .NET Framework 3.0 SP2 to be present as prerequisites.  If you have the .NET Framework 3.5 SP1 installed, you will not be allowed to uninstall the .NET Framework 3.0 SP2 or 2.0 SP2 until you first uninstall the .NET Framework 3.5 SP1.  You will also not be allowed to uninstall the .NET Framework 2.0 SP2 until you first uninstall the .NET Framework 3.5 SP1 and the .NET Framework 3.0 SP2.

<update date=”4/22/2008″> Added information and a link to the Microsoft .NET Framework 2.0 Registration Correction Tool, which should be used before resorting to trying the cleanup tool for .NET Framework 2.0 issues. </update>

<update date=”9/21/2008″> Added a link to download the .NET Framework 3.5 SP1 now that it has shipped. </update>

<update date=”9/23/2008″> Updated the link to the .NET Framework 2.0 Registration Correction Tool to point to the official knowledge base article now that it has been published. </update>

<update date=”1/25/2009″> Added a link to the standalone .NET Framework 2.0 SP2 installer. </update>

<update date=”2/25/2009″> Added links to the .NET Framework 3.5 SP1 family update installers. </update>

<update date=”3/23/2009″> Fixed broken link to the .NET Framework cleanup tool. </update>

<update date=”3/28/2009″> Fixed broken link to the .NET Framework setup verification tool. </update>

<update date=”12/2/2010″> Added download link for .NET Framework 4. </update>

<update date=”9/8/2012″> Added download link for .NET Framework 4.5 and fixed broken links to other versions of the .NET Framework. </update>

<update date=”1/24/2013″> Added a link to the .NET Framework Repair Tool. <update>

<update date=”7/23/2015″> Added download link for .NET Framework 4.6. </update>

<update date=”12/18/2015″> Added download link for .NET Framework 4.6.1. </update>

 

Comments (194)

  1. Details about the .NET Framework 2.0 setup packaging Available command line switches for .NET Framework

  2. jkwan says:

    Does the cleanup tool work on a 64-bit windows OS??

    The readme.txt only mentions 32-bits OS..

  3. astebner says:

    Hi Jkwan – The cleanup tool will work on 64-bit versions of Windows as well.  I will fix that note in the readme the next time I post a new build of the cleanup tool on my site.

  4. nwourms says:

    Hi Aaron,

    First, why is it that Windows itself isn’t using the msi format to deploy itself? Why did they go with those awful msu’s? The reason I ask is that it would make the above easier to deal with if every component of windows was properly registered with the msi database. The Windows7 team really needs to consider this since MSI is a superior technology to these homebrew setup systems that appear every major OS release. Also, they should seriously consider dropping the dumb windows help format and switch to using VS2008’s superior format.

  5. pete campbell says:

    I have been struggling with a system that refuses to install the .net 2.0 framework.  I have tried everything suggested in your blog and more.  I have even gone through the registry manually and removed all references to .net 2.  I have tried a repair install, and I am stumped.  It fails every time with the error:

    Failed to install assembly ‘C:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.Design.dll’ because of system error: The system cannot find the path specified.

    Obviously, the file is there, it’s the correct version and size, but for some reason this is the error that gets returned.  Any further thoughts?

  6. astebner says:

    Hi Pete – If you’ve already tried all of the steps listed above in this blog post, then you may want to also try the following:

    1.  Temporarily disable anti-virus/anti-spyware software on the system, then try to run setup again.  Some programs like this get overly aggressive and can interfere with product installations
    2.  Try the steps listed at http://blogs.msdn.com/astebner/archive/2006/11/25/disabling-services-with-msconfig-to-work-around-setup-failures.aspx

    Hopefully one of these will help.

  7. pete campbell says:

    Hi Aaron, I have tried that already, in fact I disabled every service except for Windows Installer, and it still fails with the same error.  I even spent the last hour going through the registry deleting every reference to .net present, thinking it might be something in there causing the error.  1 and 1.1 reinstalled fine, but 2 hung up with the same error again! I’m thinking the only way I’m going to get this installed is to try a format clean install, and I rarely have to resort to that.  

  8. astebner says:

    Hi Pete – I’m not sure what would be causing this type of error in that case.  It could be a virus on the system or something running behind the scenes that is not a service, but is just a standard process.

    It could also be a permission issue for the files/folders that are being accessed during .NET Framework setup.  The steps at http://blogs.msdn.com/astebner/archive/2006/09/04/solving-setup-errors-by-using-the-subinacl-tool-to-repair-file-and-registry-permissions.aspx might be helpful in the case of a permission problem.

    If none of these help, you may need to contact Microsoft Technical Support for more in-depth troubleshooting.  You can find contact information for that at http://support.microsoft.com/

  9. Last week, I started getting a larger than normal volume of emails from customers who ran into problems

  10. peraita says:

    Hi Aaron:

    A few days ago my system at home would not read Visual Studio 2005 .sln files. I had not changed anything, except a failed .NET Framework update attempt.

    I was told that the .sln problem was due to a incomplete Framework installation.

    That’s when the fun began!

    I tried to repeir it, to install it on top of the existing installation, etc.; no way, of course.

    Then I discovered this blog (Thanks Aaron!). I’ve tried about everything, to no avail.

    Right now, if I run the "Cleanup tool" I consistently get a bluescreen error. I’m running XP SP2. I’ve tried in Safe Mode, with the same result.

    Cleanup does "Stopping services", Removing Windows Installer Information", "Removing directories" and… crash! The BSoD mentions STOP 0x00000024, Ntfs.sys. Same values everytime.

    Any clue? Thanks a lot in advance.

  11. astebner says:

    Hi Peraita – I’m sorry for the hassles that this issue is causing for you.  I haven’t ever heard of a case of the cleanup tool resulting in a blue screen crash like this.  All it does behind the scenes is attempt to delete files, directories, registry values, stop services and uninstall MSI-based products.  I’m not aware of a way that these steps could cause the entire computer to crash.  If possible, could you try to gather the log files from the cleanup tool so I can see exactly what it was doing at the time that your system crashed?  The logs will be named %temp%cleanup*.txt.

    Also, what kind of errors were you getting when you tried to repair and/or re-install the .NET Framework 2.0 using the normal install process?  It might be best to try to solve that issue instead of the issue with the cleanup tool to get your system back in a good state.  The .NET Framework 2.0 creates a set of logs that are useful for troubleshooting – they are listed at http://blogs.msdn.com/astebner/articles/447012.aspx.

    You can contact me at Aaron.Stebner (at) microsoft (dot) com to send me the above log files and I will try to help you from there as best as I can.

  12. .NET Framework Cleanup Tool User’s Guide Introduction This .NET Framework cleanup tool is designed to

  13. D.Hagop says:

    This is how I fixed the major issues I had with .Net on WinXP SP3 (x86).

    • I have Windows Installer v4.5
    • I rebooted immediately upon any request

    1. DotNetFX_Cleanup_Tool -> Remove "All Versions"

    2. Install .Net 1        (1.0.3705.0)    [CRC32: E349F4E0]

    3. Install .Net 1.0 SP 3 (1.0.872.2884)  [CRC32: 10CA288D]

    4. Install .Net 1.1      (1.1.4322.573)  [CRC32: FB4D7E5E]

    5. Install .Net 1.1 SP 1 (1.0.871.2738)  [CRC32: 50C9E538]

    6. Install .Net 2.0      (2.0.50727.42)  [CRC32: 7709E3AD]

    7. Install .Net 2.0 SP1  (2.1.21022.08)  [CRC32: F43F06A5]

    8. Install .Net 3.5 SP1  (3.5.30729.01)  [CRC32: 288B7694]  WebSetup Version

    9. Install .Net 3.5 HF   (9.0.30729.196) [CRC32: 7AC5AA95]  KB958484

    Verfied with NETFX_SetupVerifier.exe


    [01/16/09,15:06:42] Detected operating system: Windows XP (x86)

    [01/16/09,15:06:42] Install state for .NET Framework 1.0: installed with service pack 3.

    [01/16/09,15:06:42] Install state for .NET Framework 1.1: installed with service pack 1.

    [01/16/09,15:06:42] Install state for .NET Framework 2.0: installed with service pack 2.

    [01/16/09,15:06:42] Install state for .NET Framework 3.0: installed with service pack 2.

    [01/16/09,15:06:42] Install state for .NET Framework 3.5: installed with service pack 1.

  14. astebner says:

    Hi D.Hagop – Thanks for posting your experiences.  Overall, I recommend using the steps listed at the top of this blog post in the order that I listed them to try to troubleshoot .NET Framework installation issues.  The cleanup tool is designed as a last resort tool only, not as a replacement for the normal uninstall process for the versions of the .NET Framework.  The steps in this blog post explain how to try the uninstall steps and additional troubleshooting steps before trying the cleanup tool.

  15. ashishdave says:

    Hi Aaron,

    i am struggling with installation of 2.0. i tried all steps multiple times. OS – XP SP-3

    I used netfx_setupverifier_new.zip 1.1 installation is ok, while 2.0 & 2.1 installation it throws follwing error on log

    [01/27/09,19:16:11] Process successfully launched. Waiting 300 seconds for it to complete.

    [01/27/09,19:16:13] ****ERROR**** Process ‘Netfx20TestApplication.exe’ exited with return code -532459699

    [01/27/09,19:16:13] ****ERROR**** Verification failed for product .NET Framework 2.0 SP1

    any idea how to solve this?

    Thanks in advance..!

  16. astebner says:

    Hi Ashishdave – If you’ve already tried the steps listed above in this blog post and you still see this error, then I’d suggest trying to run the Netfx20TestApplication directly to see if it gives any more useful error messages.  You can do that by using the following steps:

    1.  Download netfx_setupverifier_new.zip from http://astebner.sts.winisp.net/Tools/netfx_setupverifier_new.zip and save it to your computer

    2.  Extract the file netfx_setupverifier.exe from the .zip file

    3.  Run netfx_setupverifier.exe /c and choose a path to extract the files to

    4.  Go to the path you extracted to in step 3 and double-click on the file named Netfx20TestApplication.exe and see if it displays any errors.

  17. ashishdave says:

    Hi Aaron, thanks for prompt response

    I tried running application as you mentioned,

    It throws pop-up with title "WindowsApplication11"

    WindowsApplication1 has encountered a problem and need to close. We are sorry for inconvenience.

    If you are in middle of something, the information you wre working on might lost.

    <close button>

  18. astebner says:

    Hi Ashishdave – That Netfx20TestApplication is a very simple application that is designed to see if the CLR can be loaded and WinForms can be instantiated.  If it crashes, there is something fundamentally wrong with the CLR on your system.  Does it give you the ability to gather any additional information when it crashes like this (such as a callstack)?  Also, do you see any useful information in the event logs on your system when it crashes?

    For this type of problem where setup reports success but yet the product doesn’t work, you may also need to try to contact Microsoft technical support for more in-depth troubleshooting and debugging assistance.  You can find contact information for them at http://support.microsoft.com.

  19. Mantvydas says:

    Dear Aaron,

    you’re speaking here about "the version that is causing you problems"… in all your steps.

    But what about that, I’m installing 3.5 Family update, and it complains that it cannot uninstall "Product: Microsoft .NET Framework 2.0 Service Pack 2 — Error 1714.The older version of Microsoft .NET Framework 2.0 Service Pack 2 cannot be removed.  Contact your technical support group.  System Error 1612.".

    There’s no .NET 2.0 SP2 on my system… There’s only 2.0 SP1, a 3.0 Hotfix KB932471, and 3.0 SP1.

  20. astebner says:

    Hi Mantvydas – That error message is a bit misleading, and I apologize for that.  In this case, the "older version" of the .NET Framework 2.0 SP2 could be either the original version of the .NET Framework 2.0 or the .NET Framework 2.0 SP1.

    Can you try uninstalling 3.0 SP1 and then 2.0 SP1 from Add/Remove Programs on your system and see if that helps fix this issue?  If those uninstalls also fail, then please proceed with trying the cleanup tool described in step 4 of this blog post.

  21. Joven&hellip;, t&uacute; que estas entre los 15 y 55 a&ntilde;os &hellip; y la instalaci&oacute;n del

  22. Joven&hellip;, t&uacute; que estas entre los 15 y 55 a&ntilde;os &hellip; y la instalaci&oacute;n del

  23. jcmesina1 says:

    I am running Windows XP SP3. I have tried soooo many times to get a working version of .Net Framework 2.0 installed. The same failure on .Net Framework 3.0 and 3.5 occur as noted below. I have stopped all of my non-windows services via msconfig and ran the install – to no avail. Help?

    [08/25/09,13:01:04] Beginning of new SetupVerifier error logging session

    [08/25/09,13:01:04] Activity log file location: C:DOCUME~1cosLOCALS~1Tempsetupverifier_main_08-25-09_13.01.04.txt

    [08/25/09,13:01:04] Error log file location: C:DOCUME~1cosLOCALS~1Tempsetupverifier_errors_08-25-09_13.01.04.txt

    [08/25/09,13:01:04] Build created on July 17, 2009

    [08/25/09,13:01:04] Detected operating system: Windows XP (x86)

    [08/25/09,13:01:15] Process ‘Netfx20TestApplication.exe’ exited with return code -1

    [08/25/09,13:01:15] Verification failed for product .NET Framework 2.0

    [08/25/09,13:01:18] SetupVerifier exiting with return value 100

  24. astebner says:

    Hi Jcmesina1 – The error in your log is showing that a small test application that uses the .NET Framework is not able to run correctly.  That means that there is something wrong with the .NET Framework 2.0 on your system.  If you haven’t already, I’d suggest trying the steps listed at the top of this blog post to manually remove all versions of the .NET Framework from your system.  Then, try to install the .NET Framework 3.5 SP1 from http://www.microsoft.com/downloads/details.aspx?familyid=AB99342F-5D1A-413D-8319-81DA479AB0D7 (it will install 2.0 SP2 and 3.0 SP2 for you behind the scenes).

  25. gcapnias says:

    Aaron,

    What about the language packs? Is is possible to cleanup them too?

  26. astebner says:

    Hi George J. Capnias – So far, I haven’t added support for the language packs because I haven’t run into any scenarios where the language packs got into a state where they required manual removal.  Are you seeing problems where the normal uninstall of the language packs does not work on your system?  If so, can you please provide more details about what kind of error(s) you are seeing?

  27. patelpankil says:

    Hi Aaron,

    I’m having problems installing .Net framework 3.5 sp1. I have tried all the steps mentioned in this blog and some of your other blog entries. I always get the following error.

    [12/16/09,22:06:28] Microsoft .NET Framework 3.0 SP2 x86: [2] Error: Installation failed for component Microsoft .NET Framework 3.0 SP2 x86. MSI returned error code 1603

    [12/16/09,22:06:32] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 SP2 x86 is not installed.

    Approach 1:

    1. Uninstall all the versions.
    2. Used cleanup tool to make sure that everything is un-installed properly.

    3. Re-install all versions one by one along with the service packs.

    It gave the above error when I install .Net 3.5 sp1.

    Approach 2:

    1. Uninstall all the versions.
  28. Used cleanup tool to make sure everything is un-installed properly.

  29. Tried installing .Net 3.5 sp1.

    It still gave the same error as above.

  30. Thanks in advance.

    -Pankil

  • astebner says:

    Hi Patelpankil – I’m sorry for the hassles that this issue is causing for you.  Can you please use the tool described at http://blogs.msdn.com/astebner/archive/2007/11/21/6458047.aspx to gather your .NET Framework setup log files, then upload the resulting file named vslogs.cab to a file server (such as http://skydrive.live.com), then reply back here with a link that I can use to download the logs so I can look into this further?

  • Harry46 says:

    Hi Aaron,

    After the McAfee incident 3 weeks ago, I was obliged to install my PC from scratch, starting with the installation of Windows XP (including about 200 Microsoft updates; among these SP3). Most automatic updates were installed smoothly, but the installation of the .NET Framework ended with a Windows Update errorcode ‘0x643’ during the installation of KB951847 (Microsoft .NET Framework 3.5 Service Pack 1 en .NET Framework 3.5 Family Update x86 for .NET-versions 2.0 to 3.5).

    I have tried to solve this problem by following ID 923100 (Manually remove NET Framework , run msicuu2 and manually reinstall .NET Framework). The installation of .NET Framework 1.1 + the Dutch Language Pack went smoothly.

    I used the .NET Framework verification tool to double-check that the version of the .NET Framework that I installed, was installed correctly. Next I tried to install of .NET Framework 2.0.

    But the installation of .NET Framework 2.0 failed due to the following error:

    “error 25015:. The installation of assembly C:WindowsMicrosoft.NetFrameworkv2.0.50727Microsoft.Visual.Basic.Compatibility.dll

    failed due to system error 0x80131107”.

    I have spent over 2 days now trying to install .NET Framework, and I don’t know what to do next, so I am rather desparate. I am not a programmer and this matter is highly complicated and very confusing to me.

    Please help me!

    Many thanks in advance.

  • astebner says:

    Hi Harry46 – The 0x80131107 error usually means there are mismatching files and/or registry keys for the .NET Framework present on your computer.  What I usually suggest to solve this type of error is to use the steps listed in this blog post to manually remove all versions of the .NET Framework with the cleanup tool and then re-install the .NET Framework 3.5 SP1 (which will also install the .NET Framework 2.0 SP2 and 3.0 SP2 for you behind the scenes).  Can you please give that a try and see if it helps solve this error?

  • Harry46 says:

    Hi Aaron,

    It worked so well!!

    Many thanks, you made my day!

  • Pravin says:

    hi aaron.. i tried to install Expression Studio 3 on my comp.. it gave me an error which told.. Microsoft .Net Framework 3.5 SP1 not installed.. so i tried to install that first..while installing 3.5 sp1 i encountered another error quoting.."[06/10/10,20:43:14] Microsoft .NET Framework 2.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (CBS). MSI returned error code 5

    [06/10/10,20:44:33] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0SP1 (CBS) is not installed."

    pls help..!!

    ps: i'm using vista 32 bit

  • astebner says:

    Hi Pravin – The component that is failing is an OS update for the .NET Framework 2.0.  The error code 5 means that access is denied.  The steps that I normally use to troubleshoot an OS update failure on Windows Vista and higher are listed at blogs.msdn.com/…/9303167.aspx, so I'd suggest taking a look at those to see if they help you narrow this down further.

  • Martu says:

    THANK YOU, THANKYOU, THANK YOUU!!!!!

  • BILL35 says:

    Success!

    Thanks for the very helpful blog. I want to give some feedback and encouragement for others who come here with .NET install issues.

    I hadn't been able to install updates for .NET versions 1, 2, and 3 on XP SP3. I have been getting the yellow shield warning for over a month now. Every attempt to install failed.

    After reading your blog, I first tried to remove the .NET Framework programs using Control Panel/Add-Remove Programs, but this repeatedly failed with messages indicating other programs were using them.

    My next impulse was to plunge ahead with your ".NET Framework Cleanup Tool."  But after reading your warnings that this is a last resort, I downloaded dotnetfx_cleanup_tool.zip and ran cleanup_tool.exe to remove all versions of .NET. It ran to completion successfully! The Add/Remove Programs list then showed that the .NETs were gone. So far, so good.

    I then ran Windows Update, which installed .NET 1, 2, 3, 3.5 and 4 (the version numbers might be incorrect — from memory). I ran Update again and got the latest SPs. I'm now at .NET Framework 1.1, 2.0 SP2, 3.0 SP2, 3.5 SP1, and 4 Client Profile. Running MS Update a third time indicates no more updates are available.

    My take-away suggestion is to follow astebner's admonition to go slow: follow his steps at the top to manually remove and reinstall. Don't use the big guns first.

  • Ken says:

    I ran your cleanup tool to remove all my .NET Framework products.  Add or Remove Programs still shows that .NET Framework 3.5 SP1 still remains along with 1 update and 2 Hotfixes.  The entry itself had no Size amount beside where the update and Hotfixes do.  When I try to remove the Hotfix KB963707 and update KB958484 I get message "This action is only valid for products that are currently installed."   When view Hotfix KB953595 I am referred to link support.microsoft.com/…/953595 where it tells me:

    "The Visual Basic compiler (Vbc.exe) may use 100 percent of the CPU resources when you build a .NET Framework 3.5-based application that has many assemblies and references."

    It tells me: To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: support.microsoft.com/contactus

    But I have all ready uninstalled the product with you cleanup tool.  Should I reinstall 3.5 SP1 or go to 4.0 ?

  • astebner says:

    Hi Ken – The cleanup tool is not a substitute for the standard uninstall process, and in particular, it does not remove the registry keys that cause .NET Framework 3.5 hotfixes to be listed in the Add/Remove Programs control panel.  However, those hotfixes are not actually installed anymore after you run the cleanup tool.  What I’d suggest doing in this case is re-installing the .NET Framework 3.5 SP1 (and optionally, you can install the .NET Framework 4 if you have any programs that need it).

    If you want to, you can also manually use regedit.exe remove the registry keys for those .NET Framework 3.5 SP1 hotfixes.  They will be located under HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionUninstall.  You should be able to find the exact keys by searching for the hotfix KB numbers under there.

  • Claudia says:

    Many thanks!  You saved me HOURS of frustration!!

  • RICKY1982 says:

    EventType : visualstudio8setup     P1 : 14001    

    P2 : 3.5.21022.08_orcas_x86_net     P3 : mc     P4 : inst     P5 : f    

    P6 : ca_installassemblydef.3643236f_fc70_11d3_a536     P7 : –     P8 : 1603

    P9 : –     P10 : gencomp760_{12cd    

    THIS  PROBLUM OCCURED WHEN I M TRIYING TO INSTALL FRAMEWORKS 3.5

    I UNINSTALL MY ALL OLD FRAMEWORKS FROM MY LAPTOP AND THEN TRY TO INSTALL IT BUT NO LUCK.

    PLZZZ HELP ME OUT.

    THX

  • astebner says:

    Hi Ricky1982 – If you haven't yet, I'd suggest using the steps above in this blog post to fully remove the .NET Framework versions that you have installed, then try to install the .NET Framework 3.5 SP1 (which will also install the .NET Framework 2.0 SP2 and 3.0 SP2 for you behind the scenes).  After that, please try again to install VS 2008 and hopefully it will install correctly for you.

  • sharmari says:

    Why is it that they never address the problem with Framework 4?!

  • astebner says:

    Hi Sharmari – Which specific problem(s) are you referring to?  There have been a ton of robustness and reliability improvements in the installer for the .NET Framework 4.  You can see additional details about some of the changes at blogs.msdn.com/…/the-net-framework-4-installer-improvements.aspx.

  • madw says:

    I have MS XP Pro V2002 SP3

    I am having trouble with updates.I have .NET Framework 3.5 SP1 installed.  But 'KB983583' could not be installed. Error code 1603 is one of the updates that won't install. What can I do and where do I start first?

  • astebner says:

    Hi Madw – Can you please use the tool described at blogs.msdn.com/…/6458047.aspx to gather all of your .NET Framework setup log files, then upload the file %temp%vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), then reply back here and provide a link that I can use to download your log files and take a further look?

  • madw says:

    I hope this is what you need:

    cid-1aa058412caa2c85.office.live.com/…/.Documents

    This is all new territory for me, Skydrive, Blog, etc.  So I'm not too quick on some of this stuff…

    Thanks!

  • astebner says:

    Hi Madw – I am not able to access your Skydrive share because it says it is only available to friends.  Can you please try changing the permissions so it is available to the public, and I'll try again to download your log files afterwards.

  • astebner says:

    Hi Madw – No problem!  I had a similar problem the first time I posted something on Skydrive too.

    The log you posted shows that the KB983583 hotfix for the .NET Framework 2.0 SP2 is failing with the following error:

    DEBUG: Error 2721:  Custom action CA_ScheduleUpdateAssemblyRB.3643236F_FC70_11D3_A536_0090278A1BB8 not found in Binary table stream

    MSI (s) (D4:B8) [18:36:52:375]: Product: Microsoft .NET Framework 2.0 Service Pack 2 — The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2721. The arguments are: CA_ScheduleUpdateAssemblyRB.3643236F_FC70_11D3_A536_0090278A1BB8, ,

    I'm not entirely sure what would cause this type of error though.  It might help to try to download and install this update directly instead of letting Windows Update download it for you.  If that doesn't work, then it might also help to try to use the steps above in this blog post to fully remove the .NET Framework from your computer, then re-install the .NET Framework 3.5 SP1, then try again to install this update.

    Hopefully one of these will help.

  • madw says:

    Thank you.  I did try and shut the security system off on the computer just to see if that would make a difference and then tried to install directly – but it didn't work.

    While on MS web site, I thought I'd try their Help and Support thru Customer Service. Not sure that will make a difference but I thought I'd see. (They have you run Microsoft Support Diagnostic Tool.) Otherwise it's back up to the top of this blog and follow each step.  I know you've more than likely covered what I found on MS site but I thought I'd paste it on anyway.  (Apple computers are looking better and better – too bad they cost a lot more…….. It's a little too expensive to replace 4 computers at my place of business. Which is where the "problem" computer is located.)

    Thank you again for your help.

    Madw

    NOTICE: Support for Windows XP with Service Pack 2 (SP2) will end on July 13, 2010. For more information, see Support is ending for some versions of Windows.

    NOTICE: McAfee has identified an issue where a specific DAT file version is causing a false positive detection of the w32/wecorl.a virus. When this false positive occurs, Svchost.exe is blocked and quarantined, which will cause the machine in question to shut down with a DCOM error, and can in some circumstances cause a blue-screen. This issue appears to only occur on Windows XP SP3 clients. To resolve this problem see article 2025695 in the Microsoft knowledge base

  • madw says:

    Aaron,

    Please excuse what I wrote above.  It was late, or should I say early in the morning and I don’t think I was all there…  Anyway, I can’t uninstall any of the .NET Framework’s.  I tried thru Add/Remove Programs starting with 3.5 SP 1 – Didn’t work.  It comes up with “The installation source for this product is not available.  Verify that the source exists and that you can access it.”  (Well, daaah….  If I could access it there wouldn’t be a problem….)  If I understand everything correctly, it appears that my problem with 2.0 SP2 but in order to get to that I have to get rid of 3.5 SP 1 first?  I have downloaded the .net framework cleanup tool and have saved it on my desktop.  I’m afraid to take that next step.  What do I stand to lose by using it?  Is there anyway that AVG Anti-Virus could be causing problems with any of this?

  • astebner says:

    Hi Madw – I'm sorry for the continued hassles that this issue is causing for you.  I'd suggest going ahead and using the cleanup tool to remove the .NET Framework 3.5, 3.0 and 2.0 and then re-installing the .NET Framework 3.5 SP1 (which will also re-install the .NET Framework 2.0 SP2 and 3.0 SP2 for you behind the scenes).  After that, please try again to install the .NET Framework 2.0 update that has been failing for you and hopefully it will install correctly afterwards.

    I'm not familiar with the AVG anti-virus product, so I'm not sure whether or not it could have played a role in this issue or not.

    Hopefully these uninstall + re-install steps will help!  Please let me know how it goes for you.

  • madw says:

    One question before I dig in and cleanup – I access the “problem” computer, at times, from home using LogMeIn.  I assume that when I use the cleanup tool and then re-install the .NET Framework, etc – all that should be done in person as opposed to remote control – correct? I guess I am thinking that while performing all this, no other programs should be running in the back ground?  I eagerly await your answer.  Thanks for all your time.  I’ll keep you posted.

  • astebner says:

    Hi Madw – I'm not familiar with the LogMeIn program.  Is this similar to remote desktop?  If so, it would probably be safe to run the cleanup tool from that program.  If not, then it would probably be safest to run it in person or via a true remote desktop connection.

    The cleanup tool will prompt you to reboot after it completes if there are files in use that it needs to remove.  You shouldn't have to worry about processes running in the background while using that tool.

  • madw says:

    Thanks. Yeah, LogMeIn is a remote access and desktop control program.  Just to be safe I'll attempt everything at the store – Wednesday. Hopefully this time tomorrow I'll have good news.

  • madw says:

    It worked!  It took 4.5 hrs……  But it worked using LogMeIn remote desktop.  Just before I started to work on it, I got an email answer from MS support.  The directions they gave me were similar to yours – just spelled out with a little more detail (your directions were all that was needed).  Everything went fine until I did the first update.  So I tried again and it installed with no trouble.  I believe the computer had to reboot 3 times during the course of uninstalling with the cleanup tool, reinstalling and updates.  Afterwards I defragged and ran disk cleanup.  Since all updates have gone thru I turned the auto update back on.  (I turned it off because I was sick of it trying to update when I knew full well most would not install.) Dag, what a relief – the hours and days spent trying to get this fixed – I have my life back…..  I think I’ll go outside tomorrow and see what the outdoors look like in person. I’d shake your hand if I could.  Do me a favor and pat yourself on the back.  My store thanks you and I Thank you! Mary

  • astebner says:

    Hi Madw – I'm really glad to hear that things are working for you now, but I'm very sorry for all of the hassles and lost time that this .NET Framework issue caused for you.  Please don't hesitate to contact me again if you run into any additional issues in the future.

  • Rick Fornalski says:

    This is GARBAGE.

    If Microsoft have damaged my PC by installing a program that trips itself up time and time again, we need a single EXE that cures it. Whoa… What if there was s system that automatically downloaded the update and fixed it that way… neat idea.

    I cannot spend my time piddling about UNINSTALLING programs, I am not meant to be an IT Engineer.

    One of my 3 PC's is affected, the others I update manually. Maybe a lesson there.

    This is typical of Microsoft. "We have made a Boo Boo, now here are the 101 things to try to fix it yourself… We are not responsible, No-one else has complained, Nothing to do with us."

    You are meant to know all the answers, DEAL WITH IT and stop telling me to uninstall, reinstall, go here, run this, and reboot.

    I am SO angry with you.

    Next time your TV breaks down, simply remove IC22, a surface mounted part with 98 legs using desoldering tool, ZX4599-01 and diagnose using FIT 2366.. Sounds stupid when I know what to do doesn't it?

    Grrrr.

  • SkipD says:

    Arron, I have tried everything that you have suggested in your blogs, but I have been unable to install .net Framework 2.0 on my XP machine. Here is the dd_netfx20UI log from my last attempt:

    [11/18/10,09:10:58] ========== Logging started ==========

    [11/18/10,09:10:58] =====================================

    [11/18/10,09:10:58] No language specified in ini file default to OS language

    [11/18/10,09:10:58] Set lang to 1033

    [11/18/10,09:10:58]  Pending Reboot Table state : Logging start

    [11/18/10,09:10:58]    _________________________________________

    [11/18/10,09:10:58] (mscorwks.dll, mscorwks.dll) c:WINDOWSMicrosoft.NETFrameworkv2.0.50727TBD368.tmp   ( 2.0.50727.42 (RTM.050727-4200) )    ( Fri Sep 23 07:28:50 2005 )     Delete

    [11/18/10,09:10:58] (mscoree.dll, mscoree.dll) c:WINDOWSsystem32TBD369.tmp   ( 2.0.50727.42 (RTM.050727-4200) )    ( Fri Sep 23 07:28:52 2005 )     Delete

    [11/18/10,09:10:58] (mscorwks.dll, mscorwks.dll) c:WINDOWSMicrosoft.NETFrameworkv2.0.50727TBD3ED.tmp   ( 2.0.50727.3053 (netfxsp.050727-3000) )    ( Fri Jul 25 11:16:58 2008 )     Delete

    [11/18/10,09:10:58] (mscoree.dll, mscoree.dll) c:WINDOWSsystem32TBD3EE.tmp   ( 2.0.50727.3053 (netfxsp.050727-3000) )    ( Fri Jul 25 11:16:58 2008 )     Delete

    [11/18/10,09:10:58]  Pending Reboot Table state : Logging end

    [11/18/10,09:10:58]    _________________________________________

    [11/18/10,09:10:58] Logging property values

    [11/18/10,09:10:58] PROPERTY ProductName Microsoft .NET Framework 2.0

    [11/18/10,09:10:58] PROPERTY c:windowstempIXP000.TMPnetfx.msi

    [11/18/10,09:10:58] PROPERTY ProductMsi netfx.msi

    [11/18/10,09:10:58] PROPERTY Ini Filename c:windowstempIXP000.TMPinstall.ini

    [11/18/10,09:10:58] PROPERTY ProductCode

    [11/18/10,09:10:58] PROPERTY ProductRegKey SOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727

    [11/18/10,09:10:58] PROPERTY ProductRegValue OCM

    [11/18/10,09:10:58] PROPERTY ProductRegData

    [11/18/10,09:10:58] PROPERTY ProductSupportURL go.microsoft.com/fwlink

    [11/18/10,09:10:58] PROPERTY DefaultDirInstallToken URTInstallPath.3643236F_FC70_11D3_A536_0090278A1BB8

    [11/18/10,09:10:58] PROPERTY Install 0

    [11/18/10,09:10:58] PROPERTY SupportWin9X 1

    [11/18/10,09:10:58] PROPERTY MinNTVersion 5.0

    [11/18/10,09:10:58] PROPERTY CheckAdminRights 1

    [11/18/10,09:10:58] PROPERTY BlockOn64Platform 1

    [11/18/10,09:10:58] PROPERTY ShowFeatureOptions 0

    [11/18/10,09:10:58] PROPERTY ShowDestinationFolder 0

    [11/18/10,09:10:58] PROPERTY LogFilePrefix dd_netfx20

    [11/18/10,09:10:58] PROPERTY CustomTextPrefix CustomText

    [11/18/10,09:10:58] PROPERTY MSI Log name c:windowstempdd_netfx20MSI72F1.txt

    [11/18/10,09:10:58] PROPERTY Msi Command Line properties

    [11/18/10,09:10:58] PROPERTY VerboseLog 1

    [11/18/10,09:10:58] PROPERTY RebootMode 1

    [11/18/10,09:10:58] PROPERTY UILanguage 1033

    [11/18/10,09:10:58] PROPERTY BitmapFile c:windowstempIXP000.TMPnetfx.bmp

    [11/18/10,09:10:58] PROPERTY User Canceled 0

    [11/18/10,09:10:58] PROPERTY Red

    [11/18/10,09:10:58] PROPERTY Green

    [11/18/10,09:10:58] PROPERTY Blue

    [11/18/10,09:10:58] PROPERTY Current Dir c:windowstempIXP000.TMP

    [11/18/10,09:10:58] PROPERTY Temp Dir c:windowstemp

    [11/18/10,09:10:58] PROPERTY Usage Mode 0

    [11/18/10,09:10:58] PROPERTY Admin Mode 0

    [11/18/10,09:10:58] PROPERTY Maintenance Mode

    [11/18/10,09:10:58] PROPERTY Silent Mode 0

    [11/18/10,09:10:58] PROPERTY Silent Mode Uninstall 0

    [11/18/10,09:10:58] PROPERTY WatsonSilent 0

    [11/18/10,09:10:58] PROPERTY WatsonUI 0

    [11/18/10,09:10:58] PROPERTY Silent Mode UI string

    [11/18/10,09:10:58] PROPERTY SkipAllChecks 0

    [11/18/10,09:10:58] PROPERTY WatsonGenerateManifestOnly

    [11/18/10,09:10:58] PROPERTY UninstallWarning 1

    [11/18/10,09:10:58] PROPERTY ControlMSIService 1

    [11/18/10,09:10:58] PROPERTY RTL Language 0

    [11/18/10,09:10:58] PROPERTY PostSetupCommandRegKey

    [11/18/10,09:10:58] PROPERTY GlobDataINIPresent

    [11/18/10,09:11:00] Checking Windows Installer version…

    [11/18/10,09:11:00] msi.dll loaded ok

    [11/18/10,09:11:00] Looking for: 2.0.0

    [11/18/10,09:11:00] Found: 3.1.4001

    [11/18/10,09:11:00] Windows Installer version ok

    [11/18/10,09:11:00] Finished Checking Windows Installer version. Return code 0

    [11/18/10,09:11:00] Entering CMsiInstaller::ThreadInit

    [11/18/10,09:11:00] Leaving CMsiInstaller::ThreadInit

    [11/18/10,09:11:00] Checking Windows Installer version…

    [11/18/10,09:11:00] msi.dll loaded ok

    [11/18/10,09:11:00] Looking for: 2.0.0

    [11/18/10,09:11:00] Found: 3.1.4001

    [11/18/10,09:11:00] Windows Installer version ok

    [11/18/10,09:11:00] Finished Checking Windows Installer version. Return code 0

    [11/18/10,09:11:00] Entering  CNavigator::Start

    [11/18/10,09:11:00] Running all checks

    [11/18/10,09:11:00] Running system checks

    [11/18/10,09:11:00] SYSTEM CHECK: : One instance of setup running Passed

    [11/18/10,09:11:00] SYSTEM CHECK: : Administrative rights check Passed

    [11/18/10,09:11:00] SYSTEM CHECK: : Minimum NT Version 5.0 Passed

    [11/18/10,09:11:00] SYSTEM CHECK: : Runing on 64 bit wow check Passed

    [11/18/10,09:11:00] SYSTEM CHECK: : OCM product installed Passed

    [11/18/10,09:11:00] Running prereq checks

    [11/18/10,09:11:00] PREREQ CHECK: : Microsoft Internet Explorer 5.01 Passed

    [11/18/10,09:11:00] Checking Windows Installer version…

    [11/18/10,09:11:00] msi.dll loaded ok

    [11/18/10,09:11:00] Looking for: 3.0.0

    [11/18/10,09:11:00] Found: 3.1.4001

    [11/18/10,09:11:00] Windows Installer version ok

    [11/18/10,09:11:00] Finished Checking Windows Installer version. Return code 0

    [11/18/10,09:11:00] PREREQ CHECK: : Microsoft Windows Installer 3.0 Passed

    [11/18/10,09:11:00] PREREQ CHECKS: Passed

    [11/18/10,09:11:00] Running block checks

    [11/18/10,09:11:00] BETA CHECK: Passed

    [11/18/10,09:11:00] Entering CNavigator::WindowCreation

    [11/18/10,09:11:00] Entering CNavigator::LoadPages

    [11/18/10,09:11:00] Entering CMsiInstaller::IsInstalled

    [11/18/10,09:11:00] Entering CMsiInstaller::GetProductCode

    [11/18/10,09:11:00] Leaving CMsiInstaller::GetProductCode

    [11/18/10,09:11:00] Leaving CMsiInstaller::IsInstalled

    [11/18/10,09:11:01] Created Page: Welcome Page

    [11/18/10,09:11:01] Created Page: EULA Page

    [11/18/10,09:11:01] Created Page: Progress Page

    [11/18/10,09:11:01] Created Page: Final Page

    [11/18/10,09:11:01] Leaving CNavigator::LoadPages

    [11/18/10,09:11:01] Entering CMsiInstaller::RegisterUIInterfaces

    [11/18/10,09:11:01] Leaving CMsiInstaller::RegisterUIInterfaces

    [11/18/10,09:11:21] Entering CMsiInstaller::StartInitialization

    [11/18/10,09:11:21] Leaving CMsiInstaller::StartInitialization

    [11/18/10,09:11:21] Entering CMsiInstaller::InitSequence

    [11/18/10,09:11:21] Entering CNavigator::Next

    [11/18/10,09:11:21] Leaving CNavigator::Next

    [11/18/10,09:11:23] Leaving CMsiInstaller::InitSequence

    [11/18/10,09:11:23] Entering CNavigator::Next

    [11/18/10,09:11:23] Entering CMsiInstaller::BeginInstall

    [11/18/10,09:11:23] Entering CMsiInstaller::GetMscoreeVersionFromSystem

    [11/18/10,09:11:23] Version of C:WINDOWSsystem32mscoree.dll is 1.1.4322.2032

    [11/18/10,09:11:23] Leaving CMsiInstaller::GetMscoreeVersionFromSystem

    [11/18/10,09:11:23] Entering CMsiInstaller::GetMscoreeVersionFromMsi

    [11/18/10,09:11:23] Version of mscoree.dll in the msi package is 2.0.50727.42.

    [11/18/10,09:11:23] Leaving CMsiInstaller::GetMscoreeVersionFromMsi

    [11/18/10,09:11:57] MsiInstallProduct called with Command line:

    [11/18/10,09:11:57] USING_EXUIH=1 REBOOT=ReallySuppress FILESINUSETEXT=""

    [11/18/10,09:11:57] Entering CNavigator::Next

    [11/18/10,09:11:57] Leaving CNavigator::Next

    [11/18/10,09:14:10] Display message

    [11/18/10,09:14:10] Error 25015.Failed to install assembly 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Microsoft.VisualBasic.Vsa.dll' because of system error: Access is denied.

    [11/18/10,09:27:38] ERROR EVENT : Custom Action Failure:Action ended 9:27:38: InstallFinalize. Return value 3..

    [11/18/10,09:27:38] ERROR EVENT : See Windows Install log  for details.

    [11/18/10,09:28:22] ERROR EVENT : Custom Action Failure:Action ended 9:28:22: INSTALL. Return value 3..

    [11/18/10,09:28:22] ERROR EVENT : See Windows Install log  for details.

    [11/18/10,09:28:23] Entering CMsiInstaller::SuppressReboot

    [11/18/10,09:28:23] Leaving CMsiInstaller::SuppressReboot

    [11/18/10,09:28:25] StopDarwinService: Entering the function

    [11/18/10,09:28:25] Entering CNavigator::Next

    [11/18/10,09:28:26] Leaving CNavigator::Next

    [11/18/10,09:28:27] StopDarwinService: Stopped successfully! Return TRUE

    [11/18/10,09:28:27] Darwin service was successfully stopped after INSTALL

    [11/18/10,09:49:38] Entering CFinalPage::Cancel. – Post Quit message to UI thread

    [11/18/10,09:49:38] Entering CNavigator::OnDestroy

    [11/18/10,09:49:39] Making synchronous call to worker to stop

    [11/18/10,09:49:39] Entering CMsiInstaller::Stop

    [11/18/10,09:49:39] Leaving CMsiInstaller::WorkerThread

    [11/18/10,09:49:39] Leaving CMsiInstaller::Stop

    [11/18/10,09:49:39] Leaving CNavigator::OnDestroy

    [11/18/10,09:49:39] Leaving CNavigator::WindowCreation

    [11/18/10,09:49:39] Leaving  CNavigator::Start

    [11/18/10,09:49:39] Process returning code 1603

    [11/18/10,09:49:39]  Pending Reboot Table state : Logging start

    [11/18/10,09:49:39]    _________________________________________

    [11/18/10,09:49:39] (mscorwks.dll, mscorwks.dll) c:WINDOWSMicrosoft.NETFrameworkv2.0.50727TBD368.tmp   ( 2.0.50727.42 (RTM.050727-4200) )    ( Fri Sep 23 07:28:50 2005 )     Delete

    [11/18/10,09:49:39] (mscoree.dll, mscoree.dll) c:WINDOWSsystem32TBD369.tmp   ( 2.0.50727.42 (RTM.050727-4200) )    ( Fri Sep 23 07:28:52 2005 )     Delete

    [11/18/10,09:49:39] (mscorwks.dll, mscorwks.dll) c:WINDOWSMicrosoft.NETFrameworkv2.0.50727TBD3ED.tmp   ( 2.0.50727.3053 (netfxsp.050727-3000) )    ( Fri Jul 25 11:16:58 2008 )     Delete

    [11/18/10,09:49:39] (mscoree.dll, mscoree.dll) c:WINDOWSsystem32TBD3EE.tmp   ( 2.0.50727.3053 (netfxsp.050727-3000) )    ( Fri Jul 25 11:16:58 2008 )     Delete

    [11/18/10,09:49:39] (mscorwks.dll, mscorwks.dll) c:WINDOWSMicrosoft.NETFrameworkv2.0.50727TBD437.tmp   ( 2.0.50727.42 (RTM.050727-4200) )    ( Fri Sep 23 07:28:50 2005 )     Delete

    [11/18/10,09:49:39] (mscoree.dll, mscoree.dll) c:WINDOWSsystem32TBD438.tmp   ( 2.0.50727.42 (RTM.050727-4200) )    ( Fri Sep 23 07:28:52 2005 )     Delete

    [11/18/10,09:49:39]  Pending Reboot Table state : Logging end

    [11/18/10,09:49:39]    _________________________________________

    [11/18/10,09:49:39] =========== Logging ended ===========

    [11/18/10,09:49:39] =====================================

    [11/18/10,09:49:39]  

    [11/18/10,09:49:39]  

    [11/18/10,09:49:39]  

    Any insight that you can give would be appreciated.

  • astebner says:

    Hi SkipD – It might help to try to install the .NET Framework 3.5 SP1 instead of the original version of the .NET Framework 2.0.  3.5 SP1 will install the .NET Framework 2.0 SP2 and 3.0 SP2 behind the scenes, and it contains some setup bug fixes that might help in this type of scenario.

    Also, since you're getting an access denied error, it might help to try to use steps like the ones listed at blogs.msdn.com/…/solving-setup-errors-by-using-the-subinacl-tool-to-repair-file-and-registry-permissions.aspx to update the file and registry permissions on your computer.

  • xchris5442x says:

    Hi Aaron. I am having a hard time installing .net framework 3.5 Sp1 that is pending on my Windows Update. The error below is what I receive. I can also completed all the steps listed below.

    12/10/10,11:45:49] Microsoft .NET Framework 3.5 'package': [2] Error: Installation failed for component Microsoft .NET Framework 3.5 'package'. MSI returned error code 1603

    [12/10/10,11:45:50] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.5 'package' is not installed.

    [12/10/10,13:54:27] Microsoft .NET Framework 3.5 'package': [2] Error: Installation failed for component Microsoft .NET Framework 3.5 'package'. MSI returned error code 1603

    [12/10/10,13:54:29] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.5 'package' is not installed.

    Approach 1:

    1. Uninstall all the versions.
    2. Used cleanup tool to make sure that everything is un-installed properly.

    3. Re-install all versions one by one along with the service packs.

    It gave the above error when I install .Net 3.5 sp1.

    Approach 2:

    1. Uninstall all the versions.
  • Used cleanup tool to make sure everything is un-installed properly.

  • Tried installing .Net 3.5 sp1.

  • It still gave the same error as above.

    Thanks in advance.

  • astebner says:

    Hi xchris5442x – I'm sorry for the hassles that this issue is causing for you.  Can you please use the tool described at blogs.msdn.com/…/6458047.aspx to gather all of your .NET Framework setup log files, then post the file named %temp%vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), then reply back here and post a link that I can use to download your log files and take a further look?

  • astebner says:

    Hi xchris5442x – The errors in your log file show that there is a problem downloading some of the setup payload.  I'd suggest trying to download and install from the full install package at download.microsoft.com/…/dotnetfx35.exe instead of using the web download package and see if that helps solve this error.

  • Harry says:

    Hey

    I posted this over the MS forums but no replies so far! 🙁  I had a 3.5 .NET framework installed on Win7 x64 and Windows update tried for days to upgrade me to 4.0 but failed on each reboot/shutdown.  So i decided to uninstall 3.5 but it failed with "Generic Trust Failure".  I tried disabling antivirus, and still couldn't reinstall or uninstall.  I ended up using this tool, but I still can't install a fresh 4.0.  I've tried running the standalone under admin priviledges but doesn't work.  Any suggestions? Thanks

  • astebner says:

    Hi Harry – I'm sorry for the hassles that this issue is causing for you.  Can you please use the tool described at blogs.msdn.com/…/6458047.aspx to gather all of your .NET Framework setup log files, post the file named %temp%vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), and then reply back here with a link that I can use to download your log files and take a further look?

    Also, what exact steps did you use to try to uninstall the .NET Framework 3.5?  This version of the .NET Framework is installed as a part of the OS on Windows 7, and it is only possible to show/hide it by using the Windows Features control panel (optionalfeatures.exe).  Is that what you tried to do in this scenario when you got that Generic Trust Failure error?

  • xchris5442x says:

    Aaron,

    I tried the file above and about half way through I get the setup.exe has stopped working error and it asks me to close the program. Error log shows this

    [12/13/10,22:53:54] Microsoft .NET Framework 3.5 'package':

    [2] Error: Installation failed for component Microsoft .NET Framework 3.5 'package'. MSI returned error code 1603

    [12/13/10,22:53:56] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.5 'package' is not installed.

  • astebner says:

    Hi xchris5442x – Would it be possible for you to upload a new set of log files so I can see if you're getting a different error message with this installation attempt?

  • astebner says:

    Hi xchris5442x – Unfortunately, these logs contain the same errors as before.  Here is what I see in your log files:

    [12/11/10,22:09:09] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): ERRORLOG EVENT : CGenericComponent::Install() expects the setup file for Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86) but fails to get it

    [12/11/10,22:20:56] Microsoft .NET Framework 3.5 'package': ERRORLOG EVENT : Error – file does not exist: c:temp2.dotnetfx35x86netfx35_x86.exe

    I'm not sure why you're getting this type of error when you use the full install package – it should never be missing any of the files.  From the log entries, I'm guessing that you have a non-default temp directory named c:temp2 (instead of something like c:usersyourusernameAppDataLocalTemp).  It is possible that this is causing problems, but I'm not sure.  Could you please try the following steps and see if they help?

    1.  Download the .NET Framework installer from download.microsoft.com/…/dotnetfx35.exe and save it to your hard drive.

    2.  Run dotnetfx35.exe /x and extract the contents to a folder on your hard drive.

    3.  Go to the folder you extracted to in step 2, and run setup.exe from there.

  • xchris5442x says:

    Followed all steps, but I do not see in the extracted folder location, a setup.exe file. The only file I see with an .exe is dotNetFx35setup.exe which gives me an error when I run it the same way the other error appeared.

  • astebner says:

    Hi xchris5442x – I'm sorry about that.  I forgot that there is another setup executable inside of the full install package.  Can you please also try to run dotnetfx35setup.exe /x and extract that to the same folder that you extracted dotnetfx35.exe to, then run the setup.exe that is inside of the dotnetfx35setup.exe package to see if that helps?

  • xchris5442x says:

    Aaron,

    Error occurred during setup appears a few seconds after the install starts it prompts me for a Insert Disk, setup is looking for the file netfx35_x86.exe Please insert Disk 1. I located the file in the extracted folder but it said the path was invalid. I tried placing the file in the same folder as the setup.exe and ran the setup again. This did not solve the error. This new error happens within a few seconds of the install process, says there is an error, then asks for the netfx35_x86.exe file shortly after.

  • astebner says:

    Hi xchris5442x – I'm not sure what is causing this behavior.  It is possible that the directory structure for your extracted copy of setup is not exactly right.  Could you please upload a text file with a full directory list from the folder you extracted and created for those 2 installers so I can take a quick look?

  • astebner says:

    Hi xchris5442x – This directory structure looks correct to me, except you shouldn't need to copy netfx35_x86.exe to the root like that.  I'm still not sure why you are getting that type of disk prompt message when you run the setup.exe after extracting all of these installers to a folder on your computer.

    It sounds like you've already tried the cleanup tool and it didn't help either.  One other thing that might be worthy trying is to manually uninstall the components of the .NET Framework 3.5 SP1 using the steps in the "Windows Vista and Windows Server 2008" section of the blog post at blogs.msdn.com/…/8803442.aspx.  After uninstalling those Windows update packages, please try once more to install the .NET Framework 3.5 SP1 and see if that helps.

    If that doesn't work either, then I'm afraid I'm not sure what else to suggest.  You may need to try to contact Microsoft technical support for more in-depth troubleshooting assistance.  You can find their contact information at http://support.microsoft.com.

    I'm sorry that I haven't been able to be more helpful in this scenario.

  • xchris5442x says:

    I have no 3.5 SP1 components to uninstalled because it has never installed. Thanks for the help and effort.

  • astebner says:

    Hi xchris5442x – Some of the log files you sent me showed that you have the .NET Framework 2.0 SP2 and 3.0 SP2 installed.  From the blog post at blogs.msdn.com/…/8803442.aspx, these are KB948610 and KB948609.  I think it would still be worth trying to uninstall those and then re-run .NET Framework 3.5 SP1 setup to see if that helps at all.

  • Hi there.

    I am having the same problem as bdemartino in

    social.msdn.microsoft.com/…/c59fcdf6-607d-42e9-a118-149da2365b6f

    in that "Windows would not boot after installing SP1, so I did a restore".

    Now I also have the 'sorttbls.nlp' issue (I get the error on starting Windows), and cannot run AMD Catalyst Control Center, or Windows Media Center.

    I am unable to install Windows 7 SP1, and installing update KB947821 has had no success.

    Following advice from your post, I unselected & selected the checkbox of Microsoft .NET Framework 3.5.1 as advised.  I then re-installed AMD CCC.

    Using blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx, I ran sfc /scannow in the cmd prompt. It found and corrected errors.  But did not fix my issues.

    I then ran .NET Framework cleanup tool from blogs.msdn.com/…/8904493.aspx.

    Again to success.

    Is my only option left to reinstall Windows 7?

    Thanks in advance.

  • astebner says:

    Hi Dawido_B – Can you please try to run the .NET Framework setup verification tool and see if it reports any errors for the .NET Framework 3.5?  You can find this tool at blogs.msdn.com/…/8999004.aspx.  If it does report errors, please upload the log file from the tool to a file server (such as http://skydrive.live.com) then reply back here and post a link that I can use to download the log file and take a further look.

  • Clamcake Jones says:

    Just installing .NET Framework 1.1 SP1 (above) fixed the KB2416447 installation problem for me.

    1.) I downloaded http://www.microsoft.com/…/details.aspx

    2.) I ran it

    3.) I went to windows update again, and successfully installed Security Update for Microsoft .NET Framework 1.1 SP1 on Windows XP, Windows Vista, and Windows Server 2008 x86 (KB2416447)

  • Hi, Aaron —

    My XP Professional SP3 computer runs flawlessly — except that it will not accept any version of .NET later than 1.1. I have tried all of your suggestions without success. Most recently, I again ran the .NET Framework Cleanup Tool, then attempted to install .NET 3.5 SP1 using the downloaded installer file, dotnetfx35setup.exe. As it did before, the installation failed during its .NET 2a phase, leaving a number of log files in the TEMP directory.

    Along with another file, system_info.txt, I have zipped up all of the files left behind during the failed installation and uploaded them to my Windows Live Public directory. You can download it here:

    cid-f4b8a62c8895ac18.office.live.com/…/TEMP.zip

    Please take a look at this and, if possible, tell me what I need to do to correct the problem. Since the computer has no other problems aside from its inability to accept .NET Framework installations, I would be very reluctant to re-install Windows, or even to run a repair installation, if any measures short of those would work.

    Thanks in advance.

  • astebner says:

    Hi Magoldberg – I'm sorry for the hassle that this issue is causing for you.  This is the error that I see in your setup log files that is causing the failure:

    Error 25007.Error occurred while initializing fusion. Setup could not load fusion with LoadLibraryShim(). Error: 0x80131700

    What I suggest doing for this error code is to use the steps and the cleanup tool listed above in this blog post to fully remove all versions of the .NET Framework from your computer, then re-install them in the following order:

    .NET Framework 3.5 SP1

    .NET Framework 1.0 (optionally if you need it)

    .NET Framework 1.1 (optionally if you need it)

    .NET Framework 4

  • Unfortunately, those are the steps I have already tried — several times — which resulted in the above "initializing fusion" error message. As I mentioned, the failure always occurs in the same place — the .NET 2a installation phase — regardless of what I do. What else can I try to get past this bottleneck?

  • astebner says:

    Hi Magoldberg – Just to confirm, have you tried running the cleanup tool in addition to trying the normal uninstall steps?  Also, did you use the cleanup tool to remove all versions of the .NET Frameworm from your computer?

    If so, I'd suggest also trying to reboot after running the cleanup tool in case there are any files in use by other processes that it wasn't able to remove.

    If neither of the above help, then I'm not sure what else to suggest.  You may want to try to contact the Microsoft technical support team to see if they can provide more in-depth troubleshooting assistance.  You can find contact information for them at http://support.microsoft.com.

  • Yes, indeed! "The normal uninstall steps" included only the .NET 1.1 uninstaller, though, since no subsequent versions of .NET are installed.

    I have rebooted after running the cleanup tool, too, but it has not helped.  

  • astebner says:

    Hi Magoldberg – I'm sorry, but I don't know what else to suggest other than to contact Microsoft technical support at this point.  I'm very sorry that I haven't been able to be more helpful in this scenario.

  • Well, thanks for trying, anyway.

  • Jin says:

    How do I remove .Net Framework 1.1 SP1 from Server 2003?  I want to just be left with 1.1 without the SP1.

    Thank you

  • astebner says:

    Hi Jin – The .NET Framework 1.1 is an OS component on Windows Server 2003.  That means that service packs and updates for the .NET Framework 1.1 should be installed via Windows Server 2003 OS update packages.  Normally, you can remove OS update packages by going to the Add/Remove Programs control panel and uninstalling them from there.

  • RustyJCdeFrance says:

    Thanks! You have solved my problem .NET Framework 1.1 on Windows XP.

  • DeeMadness says:

    Should I install the 3.5 sp1 full package or the regular? Not sure of the difference. Thanks

  • astebner says:

    Hi DeeMadness – The regular package is a web download bootstrapper.  It will scan your computer and download the components you need behind the scenes.  The full package includes all components that are a part of the installer, even if they are already installed on your computer.  I'd suggest trying the regular package first, and if you run into any download errors, you can try the full package instead.

  • Roger H says:

    A big thank you for your blog on how to reinstall .net Framework 1.1 with SP1, so I could finally install security update KB2572067. You saved the day!

  • Rush Callahan says:

    Thank you.  I have fought with 2 different Windows 2003 servers & .net issues.  These instructions were great, spot on.

  • jiyu@aol.com says:

    I have a problem with .NET Framework 1.1.  Windows update keeps trying to automatically install an update to it every day, but it always fails.  It also fails when I try to install the update manually.  Microsoft Fixit failed to resolve the problem also.  When I "search for solutions to this problem" I am told no solutions are found.  I tried all the steps i could find on the MS support site for .NET Framework 1.1 update problems, to no avail, up tko the point where I was advised to use the Cleanup Tool.  The instructions for that tool told me to read your blog before using it.  I followed the instructions in your blog to uninstall .NET Framework 1.1 using Control Panel instead of the cleanup tool, and it uninstalled successfully.  However, when I tried to download and reinstall it, I was told that it was not compatible with the IIS used on my platform (Vista Ultimate 64-bit).  It offers the option to install anyway.  Should I proceed?  Do I really need .NET Framework 1.1 in the first place (I also have 3.5 and 4 installed)?

  • astebner says:

    Hi Jiyu-san – In most cases, if you have the .NET Framework 3.5 installed, you will not need the .NET Framework 1.1.  I wrote more about this topic at blogs.msdn.com/…/9557946.aspx, so I'd suggest taking a look at that blog post for help deciding whether or not to re-install the .NET Framework 1.1 on your computer.

  • jiyu@aol.com says:

    Thanks, Aaron.  In that case, I won't bother to continue trying to reinstall 1.1 unless some of my other software turns out to need it.  What I don't understand is how it can be incompatible with my IIS (whatever that is) if it was already installed once before without problems. I'm assuming it came preinstalled by my desktop manufacturer (HP), as I don't recall ever installing it, of course it could have been installed in the background as part of some other software installation.  If it turns out that I DO need it, can I ignore the "incompatibility" message and reinstall anyway?  Do you think using the cleaner tool might remove some remnant of 1.1 that the uninstall routine left behind, and that this remnant might be the source of the "incompatibility" message?

  • jiyu@aol.com says:

    Thanks, Aaron.  In that case, I won't bother to continue trying to reinstall 1.1 unless some of my other software turns out to need it.  What I don't understand is how it can be incompatible with my IIS (whatever that is) if it was already installed once before without problems. I'm assuming it came preinstalled by my desktop manufacturer (HP), as I don't recall ever installing it, of course it could have been installed in the background as part of some other software installation.  If it turns out that I DO need it, can I ignore the "incompatibility" message and reinstall anyway?  Do you think using the cleaner tool might remove some remnant of 1.1 that the uninstall routine left behind, and that this remnant might be the source of the "incompatibility" message?

  • astebner says:

    Hi Jiyu-san – I am guessing that the .NET Framework 1.1 was preinstalled by your computer manufacturer and that is why you didn't see that incompatibility message in the past.  I think it is safe to ignore that warning if you end up needing to re-install the .NET Framework 1.1 later on.  In the worst case, if you are using your computer as an IIS server, you can use one of the control panels to update your IIS settings afterwards if needed.

    I don't think the incompatibility message is caused by anything being left behind from the .NET Framework 1.1 uninstall, so I don't think it would help at all to run the cleanup tool in this scenario.

  • jiyu@aol.com says:

    It looks like I do need to reinstall 1.1, as the virtual printer for Adobe Acrobat 8.0 (to "print" a document to an Acrobat pdf file) no longer works.  It's the only that's changed since I last "printed' to pdf.  I don't know what the IIS function in my desktop is, or how 1.1 affects it, but I'll try reinstalling and ignore the warning.  Thanks again.

  • jiyu@aol.com says:

    It looks like I do need to reinstall 1.1, as the virtual printer for Adobe Acrobat 8.0 (to "print" a document to an Acrobat pdf file) no longer works.  It's the only that's changed since I last "printed' to pdf.  I don't know what the IIS function in my desktop is, or how 1.1 affects it, but I'll try reinstalling and ignore the warning.  Thanks again.

  • astebner says:

    Hi Jiyu-san – If you are not using your computer as an IIS web server, then there is likely not going to be any effect if you ignore that warning and install the .NET Framework 1.1 on your computer.

  • Marj Wyatt says:

    I'm just writing to thank you for putting together the most complete set of information to resolve my .NET Framework problems that I was able to find anywhere online over the course of 2 days.

    It could be that it is your "job" to do this but it also could be that it is a labor of love for you.  In either case, what sounded potentially intimidating was accomplished by reviewing your posts and following the steps.  

    Thanks again!

  • Jiyu-san says:

    I don't even know what an IIS server is – this is just my home desktop PC (which I do access from other devices over my home network).  I'll try reinstalling .Net Framework 1.1 and let you know if I have further problems.  Thanks!

  • jiyu@aol.com says:

    Well, I had no problem reinstalling .Net Framework 1.1, but now I'm back to the original problem – Windows Update wants to install an update (in this case SP1) to .Net Framework 1.1 every time I turn the computer on or off.  The update always fails, regardless of whether I allow it to proceed by itself or try to do it manually on the Microsoft Update site.  The only way I got rid of the update attempts was by uninstalling .Net Framework 1.1, but it appears I need 1.1 for some of my other software to function.  So now what do I do?

  • astebner says:

    Hi Jiyu-san – I'd suggest trying to download and install the .NET Framework 1.1 SP1 yourself instead of letting Windows Update try to install it for you.  The download link is at http://www.microsoft.com/…/details.aspx.

    If that fails too, please use the steps listed at blogs.msdn.com/…/help-me-help-you-if-you-have-setup-bugs.aspx to gather a verbose log file from the failing install and upload it to a file share (like http://skydrive.live.com) and send me a link so I can take a look.

  • Hi Aaron Stebner,

    The name is Martin Rasch:

    Thanks for creating your blog site for the tools and information 🙂

    Question: Martin's Trouble Shooting Blog Migrating IIS Forums Community:

    Currently MSDN Technet Forums Blog

    Need help with: "How to Forums have a Blog while at MSDN Forums"

     Using Skydrive for Files and help for the Posts and Threads

    Later to be part of Martin's Blog on the Web ?

    Thanks for your time and help. Your busy Family and Work answering questions :D.

    Martin

  • Ray says:

    Having Framework 4.0 issues how do I show you my verification logs?

  • astebner says:

    Hi Ray – Can you please use the tool described at blogs.msdn.com/…/6458047.aspx to collect all of your setup log files, post the file named %temp%vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?

  • mike.glenn says:

    Hello Aaron. Thanks for your excellent BLOG. Using the verification tool, I checked .NET Framework 2.0, 3.5 and 4.0. To my surprise, ALL of them fail with errors even after uninstall/reinstall (details below):

    ======================================================================

    [03/25/12,08:18:22] Beginning of new SetupVerifier error logging session

    [03/25/12,08:18:22] Activity log file location: C:UsersMikeAppDataLocalTempsetupverifier_main_03-25-12_08.18.22.txt

    [03/25/12,08:18:22] Error log file location: C:UsersMikeAppDataLocalTempsetupverifier_errors_03-25-12_08.18.22.txt

    [03/25/12,08:18:22] Build created on December 29, 2011

    [03/25/12,08:18:22] Detected operating system: Windows 7 (x64)

    [03/25/12,09:12:00] ****ERROR**** Process 'Netfx20TestApplication.exe' exited with return code -1073741701

    [03/25/12,09:12:00] ****ERROR**** Verification failed for product .NET Framework 2.0 SP2

    [03/25/12,09:12:20] ****ERROR**** Process 'Netfx20TestApplication.exe' exited with return code -1073741701

    [03/25/12,09:12:20] ****ERROR**** Verification failed for product .NET Framework 3.5 SP1

    [03/25/12,09:12:27] WARNING File C:WindowsMicrosoft.NETFrameworksbscmp20_mscorlib.dll is not installed on the system

    [03/25/12,09:12:30] WARNING File C:WindowsMicrosoft.NETFrameworkv4.0.30319WPFwpftxt_v0400.dll is not installed on the system

    [03/25/12,09:12:34] WARNING File C:WindowsMicrosoft.NETFramework64v4.0.30319WPFWPFFontCache_v0400.exe is not installed on the system

    [03/25/12,09:12:34] WARNING File C:WindowsMicrosoft.NETFramework64v4.0.30319WPFwpftxt_v0400.dll is not installed on the system

    [03/25/12,09:12:43] ****ERROR**** Process 'Netfx40TestApplication.exe' exited with return code -1073741701

    [03/25/12,09:12:43] ****ERROR**** Verification failed for product .NET Framework 4 Full

    ======================================================================

    The log above is from AFTER I took the following troubleshooting actions:

      (1) Uninstall/reinstalled .NET Framework 4 Full (both manually and using .NET Framework cleanup tool)

      (2) Turned .NET Framework 3.5.1 Windows feature off/reboot/on again.

      (3) Ran sfc which returned the following:

    C:Windowssystem32&gt;sfc /scannow
    
    ...
    
    Windows Resource Protection found corrupt files and successfully repaired
    
    them. Details are included in the CBS.Log windirLogsCBSCBS.log.
    

    I started down this road (checking .NET) because TurboTax 2011 install repeatedly fails with error 3010 and says "If you keep getting Error 3010 despite multiple restarts, try fixing your .NET Framework". Any suggestions before I have to expose my system to the tender mercies of TurboTax support?

    P.S. This is my second attempt to post. After several days the first post still hasn't appeared…

  • astebner says:

    Hi M.Glenn – Can you please zip all of your verification log files, upload the zip file to a file server (such as http://skydrive.live.com), and then reply back here and post a link I can use to download your log files and take a closer look?

    Also, can you please use the tool described at blogs.msdn.com/…/6458047.aspx to collect all of your .NET Framework setup log files, upload the file named %temp%vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), and then reply back here and include a link to vslogs.cab as well?

  • shbib says:

    Thank you x100000000 – you have solved a .Net 1.1 problem that has been bugging me for about 2 years 🙂

  • Ejazz says:

    Finally found right answer to my problem. Even solved my VS2010 installation problem.

    Thanks

  • MARK e MARK says:

    I'm still working on my problem but I just wanted to post a big THANK YOU for this invaluable info. Blogs like this are what makes the internet great.

  • Hello Aaron.

    I understand how busy you are, and yet I ask for your help. Your computer has Media Center Edition 2002 SP 3. The system has a built-Net Framework 1.0: 1 SP 1, SP 2 1, 1, SP 3.

    5 days, I can not install. Net Framework 3.0. During this time I read a lot of sites but found no clue to the solution to my problem. Tried to offer cleaning nstructions "platform. NET Framework 3.0: Known problems with the installation." Nothing has changed. Not installed updates from Microsoft Update. All the time error.

    By logging logs, I realized that it is necessary to remove Windows Workflow Foundation 3.0.0.0 (support.microsoft.com/…/937213). I deleted this registry keeping up the registry before deleting.

    However, Net Framework 2; 2SP1; 2SP2 installed without problems.

    I would reinstall the OS, so as not to suffer from this problem, but I have not read the boot disk and make it impossible.

    5 days, I clean utility Cleanup Tool version 2.0 Net Framework to install ver. 3.0, but ….. to no avail.

    Logs installed versions of Net Framework and transient patches Microsoft Update I have kept.

    If you get a chance, please help.

    Thank you.

  • astebner says:

    Hi Ikarf – Can you please use the tool described at blogs.msdn.com/…/6458047.aspx to collect all of your setup log files, upload the file named %temp%vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?

  • ben says:

    Hello,

    Having problems installing security update for .NET Framework 2.0 sp2. Tried the registry cleanup tool and the removal tool (after also trying removing 2.0 sp2 from add/remove programs). All failed.

    Help appreciated.

  • astebner says:

    Hi Ben – Can you please use the tool described at blogs.msdn.com/…/6458047.aspx to collect all of your setup log files, upload the file named %temp%vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?

  • ben says:

    My comments haven't been showing up — testing without file links.

  • ben says:

    hmmm – ok – seems your blog comments won't accept posts that have links in them – maybe this will work: it's at skydrive —   /redir?resid=130D42961B39E1F2!105&authkey=!AIDcxyXQP8tkwEI

  • astebner says:

    Hi Ben – I'm sorry for the hassles posting that link.  I'm not sure why the blog site was behaving that way.  I don't have moderation turned on, but some of the settings are controlled by the server and are out of my control.

    Anyways, I looked at your log, and this is the error that I see that is causing this update to fail on your computer:

    MSI (s) (BC:C0) [07:22:09:468]: Failed to create Custom Action Server. Error 1450.

    MSI (s) (BC:9C) [07:22:09:531]: Product: Microsoft .NET Framework 2.0 Service Pack 2 — Error 1719.The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if the Windows Installer is not correctly installed. Contact your support personnel for assistance.

    Error 1450 means "Insufficient system resources exist to complete the requested service."  For that type of error, it might help to reboot your computer and try again.  It might also be necessary to close some running processes to free up resources – for example, you might need to temporarily disable anti-virus or anti-malware programs on your computer.

    If that doesn't help, then the following steps might help:

    1.  Click on the Start menu, choose Run, type cmd and click OK
    2.  Run this command:  msiexec /unregister

    3.  Run this command:  msiexec /regserver

    If that doesn't help either, then it might also help to try to re-install Windows Installer 4.5 on your computer.  You can download the installer for this at http://www.microsoft.com/…/details.aspx.

  • ben says:

    Thanks for the help. After reinstalling the installer 4.5 I was able to install .NET framework 1.1. However, the service pack 1 for that version failed. This was the error code: 0x80131506. I tried it a few times. One error message was "st1398.tmp – strong name validation failed".

  • ben says:

    I uninstalled .NET framework 1.1 using the clean-up tool (although it said it failed – it no longer showed up as installed in the control panel). Then I reinstalled it manually and was able to install the service pack 1 manually. The 2 security updates installed without problems from the microsoft updates site. I was able to verify the installation sucessfully with the validation tool.

    Thanks for the help.

  • is this closed? I just made a post and it is missing…

  • First, my vs_logs are here: skydrive.live.com/redir

    I've read:

    social.msdn.microsoft.com/…/1989dcb7-9f10-4052-9c36-b6c9afe84491

    social.msdn.microsoft.com/…/c48ceb2c-c59c-4825-8136-48329d99c574

    social.msdn.microsoft.com/…/6fc8206f-f594-493a-8216-5d1ee00512df

    social.msdn.microsoft.com/…/fc91f96f-3216-4f2b-85af-f051682760fe

    and SEVERAL others

    I needed to re-install .NET 3.5 and 4 because several WU upgrades/updates for 3.5 & 4 would either not install (fail) or succeed – only to show up again after I've rebooted (I need v4 because some apps I need to use for work need it and the apps have been crashing on my machine, but not others). In any case, I needed to reinstall 3.5 & 4. After several tries, I ended up trying to uninstall (to reinstall). That didn't work. I ended up trying the dotnetfx_cleanup_tool. That also failed to remove the older versions. So, I ended up (after several months of trying (yes months) deleting the Microsoft.NET folder, running RegScrubXP, PerfectUninstaller and CCleaner several times – THEN running dotnetfx_cleanup_tool and after finally getting the "successful" message, reinstalling .NET.

    NOTE: All installation attempts include my closing my antivirus and other malware watchers every time after reboot to install .NET.

    I read online that I should start with 3.5 first (which I did from standalone download – not from WU) – which I did, then installed 1.1 (from WU). Both went well. Then I tried to install .NET 4 (both .NET 4 Client Profile (standalone) and .NET 4 Full (standalone) as well as .NET 4 Client Profile (WU). Nothing worked. The posts online all seem to be for different reasons (even the posts with the DigitalSignature issue) – but I read them anyway and if the resolution seemed reasonable, I tried it. I even upgraded my Internet Explorer from v6 (I was keeping it so I could test  with a real v6) to v8 (I read online that .NET v4 required v8 (I knew that wasn't the case as I had it installed before with v6, but I tried it anyway)). I even logged in as the Administrator account and used msconfig for selective startup (I'm still in this mode) – only loading the minimum needed (so antivirus, etc. cannot be a problem). Also as I am logged in as the administrator, the drive permissions cannot be a problem. I really don't know what else to do – I'm hoping my install files can give someone a hint as to what's going on here as I REALLY need to get .NET 4 reinstalled so I can use this computer for work.

    Thanks

  • astebner says:

    Hi GernBlansten – The logs that you posted show that the .NET Framework 4 is failing to install because of the following error:

    Possible transient lock.  WinVerifyTrust failed with error: 2148204800

    D:1cb01e48ed6e159bb9348a6949netfx_Core_x86.msi – Signature verification for file netfx_Core_x86.msi (D:1cb01e48ed6e159bb9348a6949netfx_Core_x86.msi) failed with error 0x800b0100 (No signature was present in the subject.)

    The files that are a part of the .NET Framework 4 installer are all correctly signed on the server, so this error could mean one of the following:

    1.  The files got corrupted when you tried to download them.  You can see if this is the issue by trying to download the files again using the link at http://www.microsoft.com/…/details.aspx

    2.  There is a process running on your computer that is interfering with the ability to check signatures.  This could be an overly aggressive anti-virus or anti-malware program, or it could be malware.  To see if this is the case, I normally suggest first trying to temporarily disable anti-virus and anti-malware programs, then trying to run .NET Framework setup again.  I also typically suggest trying the steps at blogs.msdn.com/…/disabling-services-with-msconfig-to-work-around-setup-failures.aspx.  From your description, it sounds like you might have already tried these steps, but I'm listing them again here just in case.

    3.  There is something wrong with the part of Windows that is used to verify signatures.  If this is the problem on your computer, you can try steps like the ones at support.microsoft.com/…/956702 to re-register some Windows components to see if that helps.  If that doesn't help, then you can use steps like the ones at  blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx to repair the files that are a part of Windows to see if that helps.

  • Usuário Bolado says:

    Hello Aaron,

        I've been struggling on trying to completly remove .net framework 4.5, i've tried to go to the Add/Remove Programs and it doesen't show up there, i've tried to download the .NET Framework cleanup tool and it didn't work either, it seems to remove it, but when i try to install the .net framework 4.0 it says i already have higher version of .net, i also tried to delete it from the regedit and everything, nothings seems to work, any ideas what can i try to solve my problem?

  • astebner says:

    Hi Usuário Bolado – Windows 8 includes the .NET Framework 4.5 as a part of the OS, and there is not a way to remove it.  Because of that, the cleanup tool will not allow you to remove it either.  The .NET Framework 4.5 is an in-place upgrade for the .NET Framework 4, and applications written for the .NET Framework 4 should work fine if the .NET Framework 4.5 is installed.

  • Hunternif says:

    Hello Aaron,

    following one of your troubleshooting guides I ran sfc /scannow on my (relatively fresh) Windows 8, and it told me I had corrupted files. Presicely in the logs I found that the file clr.dll from .NET Framework v4.0.30319 didn't match its hash. I believe I have to reinstall .NET 4, but it seems that I cannot remove it using your cleanup utility. What can I do short of reinstalling the whole OS?

  • astebner says:

    Hi Hunternif – Windows 8 includes the .NET Framework 4.5 as a part of Windows, and you cannot remove or repair it separately.  That's why the cleanup tool doesn't allow you to remove it.

    You will likely need to repair Windows 8 to restore the correct version of this corrupt file.  There is a tutorial with some options for how to do that at http://www.bleepingcomputer.com/…/http-wwwbleepingcomputercom-tutorials-automatically-repair-windows-8-with-automatic-repair-.

  • R. Robert Bell says:

    The link to the cleanup tool takes you to a blog management site instead of the tool.

  • astebner says:

    Hi R. Robert Bell – The link appeared to be working fine for me, but it was pointing to an old location and redirecting behind the scenes, so I've updated it to point to the new location and hopefully that'll help you get to it.  Here is the exact location – blogs.msdn.com/…/8904493.aspx.

  • Thetudorman says:

    HELP!!

    [06/21/13,12:12:03] Starting Install.exe

    [06/21/13,12:12:03] Parsing switches from commandline: C:UsersJoacoAppDataLocalTempIXP000.TMPInstall.exe

    [06/21/13,12:12:03] SourceDir: C:UsersJoacoAppDataLocalTempIXP000.TMP

    [06/21/13,12:12:03] Install started

    [06/21/13,12:12:03] Checking system requirements

    [06/21/13,12:12:03] OS: Win NT

    [06/21/13,12:12:03] Ver:

    [06/21/13,12:12:03] SP: Service Pack 1

    [06/21/13,12:12:03] Checking Internet Explorer Version

    [06/21/13,12:12:03] Looking for 5.0.2919.6307

    [06/21/13,12:12:03] Found Internet Explorer Version: 9.10.9200.16614

    [06/21/13,12:12:03] Internet Explorer Version is OK…

    [06/21/13,12:12:03] System meets minimum requirements

    [06/21/13,12:12:03] Checking Windows Installer version…

    [06/21/13,12:12:03] Finished Checking Windows Installer version.

    [06/21/13,12:12:03] Trying to load msi.dll

    [06/21/13,12:12:03] Loading: C:WindowsSysWOW64\msi.dll

    [06/21/13,12:12:03] Looking for mscoree.dll from PDC

    [06/21/13,12:12:03] mscoree.dll from PDC is not installed local

    [06/21/13,12:12:03] Looking for mscoree.dll from Beta

    [06/21/13,12:12:03] mscoree.dll is not installed local

    [06/21/13,12:12:03] Trying to load msi.dll

    [06/21/13,12:12:03] Loading: C:WindowsSysWOW64\msi.dll

    [06/21/13,12:12:03] Installing: C:UsersJoacoAppDataLocalTempIXP000.TMPnetfx.msi

    [06/21/13,12:12:03] Checking IIS…

    [06/21/13,12:12:03] IIS not found

    [06/21/13,12:12:03] Checking MDAC Version

    [06/21/13,12:12:03] Looking for 2.70.7713.0

    [06/21/13,12:12:03] Found MDAC Version: 6.1.7601.17514

    [06/21/13,12:12:03] MDAC Version OK

    [06/21/13,12:12:04] StopDarwinService(): Darwin service successfully stopped

    [06/21/13,12:12:04] Trying to load msi.dll

    [06/21/13,12:12:04] Loading: C:WindowsSysWOW64\msi.dll

    [06/21/13,12:12:04] Full UI

    [06/21/13,12:12:04] Calling MsiInstallProduct() with commandline: REBOOT=ReallySuppress IIS_NOT_PRESENT=1

    [06/21/13,12:13:01] MsiInstallProduct() returned 1603

    [06/21/13,12:13:01]

    [MsiInstallProduct]

    ReturnCode=1603

    [06/21/13,12:13:01] Preparing Dialog

    [06/21/13,12:13:01] Message: Microsoft .NET Framework Setup failed.  If this problem continues, contact Product Support Services.

    [06/21/13,12:13:02] Install.exe returning 1603

    [06/21/13,12:13:02]

    [Install.exe]

  • astebner says:

    Hi Thetudorman – Can you please use the tool described at blogs.msdn.com/…/6458047.aspx to collect all of your setup log files, upload the file named %temp%vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?

  • Yvan says:

    Hello,

    I am running into trouble with Net 4.0 I have a Windows 7 OS. 64bits

    I have ran netfx_setupverifier and I get error only for Net 4.0 I can post the error log if needed.

    I have removed Net.4 and Net 4 extended, both usung Remove program in Control Panel, and dotNetFx40_Client_x86_x64.exe.  I have reinstalled Net with dotNetFx40_Client_x86_x64.exe

    With no success.

    The error message I get opening some program is: "to run this application you first must install one of the following version of the .Net Framework: v4.0.30319"

    Thank you for any help.

    Yvan.

  • astebner says:

    Hi Yvan – I'd suggest trying to install the .NET Framework 4.5 from http://www.microsoft.com/…/details.aspx. It is a super-set of the .NET Framework 4, and it might help resolve this error.

    If that doesn't help, then can you please copy and paste the full text of the errors in your netfx_setupverifier error log file so I can take a closer look?

  • Hello – and thanks for your blog. The resources you have put up are great. I'm having trouble successfully installing the .net 4.x Framework (either 4.0 or 4.5). Windows thinks it is installed correctly, but none of the applications that need it recognize that it is there. I get the message: "To run this application you must first install one of the following versions of the .net framework: v4.0."

    So far I have uninstalled and reinstalled both versions several times. I have run the NetFxRepair Tool, and lastly your clean-up tool, removing all .net installations and reinstalling all. Still the problem persists.

    Thanks for any advise you may have!

  • astebner says:

    Hi Sean Deaux – That type of error message usually means that the .NET Framework isn't correctly installed, but uninstalling and re-installing should normally resolve that type of error.  What version of Windows are you running on your computer?

  • Thanks for the reply. I'm running Vista Home Premium (32) on a Q6600 w/ 4G ram. I also expected re-installing and all of the other tools would solve it by now. But everything I have tried has failed to make either 4.0 or 4.5 recognizable to the apps that need it. The strange thing is that I use Sony Vegas Pro for video editing, and it runs fine. And it's companion DVD/Blu-ray authoring program, DVD Architect, used to work fine as well. What started this search for a solution began when I went to author a new Blu-ray disc and came up with the error. Now this problem is log-jamming my workflow, and I'm at my wits end. And given the time and hassle factor I'm not thrilled about the prospect of reformatting the drive and starting over for this one problem – when everything else works fine. Thoughts?

  • Lolo Marchal says:

    Same problem than sean deaux here but i'm running windows 8 pro 64bits. Is there a solution?

  • Jim says:

    trying to installing the .NET Framework 3.5 SP1 because it will install the .NET Framework 2.0 SP2 and 3.0 SP2 behind the scenes, and these versions contain additional fixes not in the original 2.0, 3.0 or 3.5 releases.  Plus, 3.5 SP1 will automatically uninstall any older versions of 2.0, 3.0 or 3.5 that are on your system, so you can save some time by not trying to install a version of the .NET Framework that 3.5 SP1 is going to uninstall during its install process.  – VERY STRAIGHTFORWARD FOR THE AVERAGE USER??????

  • astebner says:

    Hi Sean Deaux – If .NET Framework 4/4.5 setup is completing without any errors, then I'm not sure how to explain the problem that you're seeing.  I normally recommend the steps at blogs.msdn.com/…/8108332.aspx, but it sounds like you've already tried them.

    I'd suggest posting a question on the .NET Framework setup forum to see if someone there has any additional suggestions for you to try.  You can find the forum at social.msdn.microsoft.com/…/home.

  • astebner says:

    Hi Lolo Marchal – Your problem is a bit different than Sean's because Windows 8 includes the .NET Framework 4.5 as a part of the OS, so the repair steps are different than they are for the standalone .NET Framework 4/4.5 installer.  Here are the steps I typically suggest to try to repair the version(s) of the .NET Framework that are installed as a part of the OS:

    1.  Install the latest Windows service pack if you haven't yet.
    2.  Try to run the System Update Readiness Tool from support.microsoft.com/…/947821.

    3.  Try to repair the files that are a part of your OS by using the steps listed at blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.

    If none of the above help, you might need to repair/re-install Windows to fix this type of error.  It might also help to post a question on one of the Windows forums to see if someone there has any additional suggestions for you to try before you resort to re-installing Windows.

  • Ivan says:

    Repair tool link broken

  • astebner says:

    Hi Ivan – Thanks for the heads up.  I've fixed the broken link.  You can find more information about the .NET Framework Repair Tool at blogs.msdn.com/…/10359320.aspx.

  • Mark says:

    Hi Aaron,

    I am running Vista SP2 and had .Net 3.5 SP1 and 4.0 installed on my computer through Windows Update. Windows Update recently showed a new .Net 4.5.1 update. I have never had any problems with any .Net installs but 4.5.1 failed the install with error code 0x643. After downloading and running several of the Microsoft recommended "Fix it" apps and the Microsoft .NET Framework Repair Tool with no success I ended up at your blog. I tried your suggestions but ultimately ended up running the dotnetfx_cleanup_tool. I then installed .Net version 1.1 and 1.1 SP1 manually (they were not installed previously on my PC) and then let Windows Update install .Net 3.5 SP1. Windows Update then showed .Net 4.0 as the next update but when it tried to install it, the install errored out with the same error code as 4.5.1 did originally, even though .Net 4.0 had already been installed on my PC before the cleanup tool removed it. I ran the dotnetfx_cleanup_tool again. This time I skipped installing .Net version 1.1 and let Windows Update install 3.5 SP1, and afterwards, once again .Net 4.0 failed. I then tried to installed 4.0 manually to get the log file. I noticed in the log file it says the "Installer has insufficient privileges to modify this file:" (see below), so I turned off UAC and checked my Norton Antivirus program to make sure it is not blocking the install. Turning off UAC did not help. The log file also shows an "Incorrect function" (see below) which appears to be wusa.exe. Not sure what that is about but the file does exist in the System32 folder. I have included the part of the .Net 4.0 install log file where the problem seems to start in the next post below. I hope you can look at it and get me pointed in the right direction to successfully installing 4.0 and 4.5.1. Thank you for any help you can provide.

    Also, your <update date="1/24/2013"> link seems to be pointing to the wrong page.

  • Mark says:

    Part 1 – .Net 4.0 Error Log:

    Wait for Item (Windows6.0-KB956250-v6001-x86.msu) to be available

    Windows6.0-KB956250-v6001-x86.msu is now available to install

    Creating new Performer for Exe item

    Created new ExePerformer for Exe item

    WU Service was already enabled or was running

    WU Service: EnsureWUServiceIsNotDisabled succeeded

    Action: Performing Action on Exe at C:3b9af9ffea7429263483d269Windows6.0-KB956250-v6001-x86.msu

    Launching CreateProcess with command line = wusa.exe "C:3b9af9ffea7429263483d269Windows6.0-KB956250-v6001-x86.msu" /quiet /norestart

    Exe (C:3b9af9ffea7429263483d269Windows6.0-KB956250-v6001-x86.msu) failed with 0x1 – Incorrect function. .

    PerformOperation on exe returned exit code 1 (translates to HRESULT = 0x1)

    Action complete

    Error 0x1 is mapped to Custom Error: Success

    Overwrite the current error to S_OK.

    Wait for Item (Windows6.1-KB958488-v6001-x86.msu) to be available

    Windows6.1-KB958488-v6001-x86.msu is now available to install

    Created new DoNothingPerformer for File item

    No CustomError defined for this item.

    Wait for Item (SetupUtility.exe) to be available

    SetupUtility.exe is now available to install

    Creating new Performer for Exe item

    Created new ExePerformer for Exe item

    Action: Performing Action on Exe at C:3b9af9ffea7429263483d269SetupUtility.exe

    Launching CreateProcess with command line = SetupUtility.exe /screboot

    Exe log file(s) :

    C:UsersMarkAppDataLocalTempdd_SetupUtility.txt

    Log File C:UsersMarkAppDataLocalTempdd_SetupUtility.txt exists and will be added to the Watson upload list

    Exe (C:3b9af9ffea7429263483d269SetupUtility.exe) succeeded.

    Exe Log File: dd_SetupUtility.txt

    Action complete

    Error 0 is mapped to Custom Error:

    Wait for Item (netfx_Core.mzz) to be available

    netfx_Core.mzz is now available to install

    Created new DoNothingPerformer for File item

    No CustomError defined for this item.

    Wait for Item (netfx_Core_x86.msi) to be available

    netfx_Core_x86.msi is now available to install

    Creating new Performer for MSI item

  • Mark says:

    Part 2 – .Net 4.0 Error Log:

    Action: Performing Action on MSI at C:3b9af9ffea7429263483d269netfx_Core_x86.msi

    Log File C:UsersMarkAppDataLocalTempMicrosoft .NET Framework 4 Setup_20131130_155137810-MSI_netfx_Core_x86.msi.txt does not yet exist but may do at Watson upload time

    Calling MsiInstallProduct(C:3b9af9ffea7429263483d269netfx_Core_x86.msi, EXTUI=1

    Returning IDOK. INSTALLMESSAGE_ERROR [The Installer has insufficient privileges to modify this file: C:Windowssystem32en-USdfshim.dll.mui.]

    MSI (C:3b9af9ffea7429263483d269netfx_Core_x86.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20131130_155137810-MSI_netfx_Core_x86.msi.txt

    PerformOperation returned 1603 (translates to HRESULT = 0x80070643)

    Action complete

    Error 1603:1321 is mapped to Custom Error: Retry

    C:3b9af9ffea7429263483d269SetupUtility.exe: Verifying signature for SetupUtility.exe

    C:3b9af9ffea7429263483d269SetupUtility.exe – Signature verified successfully for SetupUtility.exe

    C:3b9af9ffea7429263483d269SetupUtility.exe Signature verified successfully for SetupUtility.exe

    Signature verification succeeded for SetupUtility.exe

    File C:3b9af9ffea7429263483d269SetupUtility.exe, is verified successfully.

    Created new ExePerformer for Exe item

    Action: Performing Action on Exe at C:3b9af9ffea7429263483d269SetupUtility.exe

    Launching CreateProcess with command line = SetupUtility.exe /wireregister

    Exe log file(s) :

    C:UsersMarkAppDataLocalTempdd_SetupUtility.txt

    Log File C:UsersMarkAppDataLocalTempdd_SetupUtility.txt exists and will be added to the Watson upload list

    Exe (C:3b9af9ffea7429263483d269SetupUtility.exe) succeeded.

    Exe Log File: dd_SetupUtility.txt

    Action complete

    Helper item execution succeed.

    Delaying for Starting to delay

    Action: Performing Action on MSI at C:3b9af9ffea7429263483d269netfx_Core_x86.msi

    Log File C:UsersMarkAppDataLocalTempMicrosoft .NET Framework 4 Setup_20131130_155137810-MSI_netfx_Core_x86.msi.txt exists and will be added to the Watson upload list

    Calling MsiInstallProduct(C:3b9af9ffea7429263483d269netfx_Core_x86.msi, EXTUI=1

    Returning IDOK. INSTALLMESSAGE_ERROR [The Installer has insufficient privileges to modify this file: C:Windowssystem32en-USdfshim.dll.mui.]

    MSI (C:3b9af9ffea7429263483d269netfx_Core_x86.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20131130_155137810-MSI_netfx_Core_x86.msi.txt

    PerformOperation returned 1603 (translates to HRESULT = 0x80070643)

    Action complete

    Error 1603:1321 is mapped to Custom Error: Retry

    Retry 1 of 1 of custom error handling

    Retry count over existing limit, not going to retry again.

    OnFailureBehavior for this item is to Rollback.

    Action: Performing actions on all Items

    Action complete

    Action complete

    Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:01:12).

    WM_ACTIVATEAPP: Focus stealer's windows WAS visible, NOT taking back focus

  • astebner says:

    Hi Mark – This is the exact error from the log you posted that is causing the failure:

    INSTALLMESSAGE_ERROR [The Installer has insufficient privileges to modify this file: C:Windowssystem32en-USdfshim.dll.mui.]

    MSI (C:3b9af9ffea7429263483d269netfx_Core_x86.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20131130_155137810-MSI_netfx_Core_x86.msi.txt

    I'd suggest double-checking to make sure that your account has permissions to that folder and file.  If necessary, you can reset file/folder permissions using instructions like the ones at answers.microsoft.com/…/465f2b42-63dd-4486-8dd1-c870290efeed.

    Thank you for the heads up about the broken link too.  I've published an update to the blog post to fix that.

  • Mark says:

    Hi Aaron,

    Thanks for the reply back, everything is now installed. I had already checked folder permissions but for some reason I did not think about file permissions. Out of hundreds of files in the folder, dfshim.dll.mui was the only one that had a problem with permissions. I could not even view the permissions in the security tab because it said I did not have privileges. I had to take ownership so I could create the user TaskInstaller and then give it all permissions and then make it the owner.

  • astebner says:

    Hi Mark – I'm glad to hear that you were able to resolve that permission issue and get the .NET Framework to install successfully.  This is the first time I've heard of this type of file-specific permission problem.  Maybe that file got corrupted somehow and Windows wasn't able to read the permission settings as a result or something like that.

  • Nik says:

    Hello, Aaron

    I did all of the steps , and  I still can't install .net framework on windows 8.1 . I need it for Steelseries mouse software.

    Not to mention everytime I start up my pc the window for .net 3.5 installer comes up only to fail again when I click next on it…

    The error that comes up is  code 0x800F0906

    I did the troubleshooting at windows I don't have Group policy so option 2 is out.A nd it's obvious that I have internet connection so that eliminates option 1.

    Option 3 gives me the following error :  

    Error 87

    The enable-feature/featurename option is unknown.

    For more information, refer to the help by running DISM.exe /?.

    The DISM log file can be found at C:WindowsLogsDISMdism.log

    Do you have any idea?

  • astebner says:

    Hi Nik – Error code 0x800F0906 means "Failure on content download for Feature on Demand or Inbox Corruption Repair."  There are some troubleshooting steps at the end of the MSDN topic at msdn.microsoft.com/…/hh506443(v=vs.110).aspx that might help in this scenario.

    If that doesn't help, then I'd suggest posting a question on the .NET Framework setup forum at social.msdn.microsoft.com/…/home to see if someone there can provide any other troubleshooting suggestions.

  • Elene says:

    Hi Aaron, First of all: thank you for all your work. The bad thing is that your solutions won't work for me. When I remove all versions of .net framework I can only install up to version 1.1. From 2.0 the problems start. I cannot install them. Not in any order. It's a real problem because I am a translator and my dictionaties won't open without 2.05-something. Can you help me out? Thanks in advance.

  • astebner says:

    Hi Elene – Can you please use the tool described at blogs.msdn.com/…/6458047.aspx to collect all of your setup log files, upload the file named %temp%vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?

  • Chris says:

    Hi Aaron,

        If I could get your opinion on a problem with .NET 4.0? I have a 2003 server that when it comes to patching the updates fail for .NET I have done the steps above and keep coming up with the same results patching fails, the Symantec IDS process is holding System.EnterpriseServices.dll with an Access is denied. Have you encountered this or heard anything about this?

  • astebner says:

    Hi Chris – I haven't heard of this type of failure before.  Typically, if an application has a file in use, the .NET Framework installer will rename and replace it and request a reboot at the end.  It is possible that this Symantec process has an exclusive lock on this file or something like that.  Is it possible for you to temporarily disable that Symantec program and then re-run the .NET Framework patches to see if that helps?

  • Chris says:

    Aaron – yes I have been able to disable this service and install the .NET patches, but then I would have to complete this process all all the affected servers manually. Then repeat this process everytime a .net security patch is released, thus not really having an automated patch process.

    note this was a new install of .net 4 when the SCCM 2012 client was installed that being said the symantec product was in the system for a year and not causing a prior problem.

  • astebner says:

    Hi Chris – I'm sorry, but I'm not sure what else to suggest.  Maybe Symantec has an updated version of their product that doesn't exclusively lock that file or something like that?

  • Andrew says:

    Hi there,

    Recently I getting the error 1101 repeatedly (Audit events have been dropped by transport. 0) which I believe is caused by .NET framework 4.0 which is the most recently installed software on my system. I found on many forums that this tool is ultimate in terms of cleanup. Will u recommend using this tool for this situation? I don't have much knowhow about these topics, plz help….

  • astebner says:

    Hi Andrew – I haven't heard of this error 1101 before, so I don't know for sure if it is related to the .NET Framework or not.  What exactly are you doing on your computer at the time that you see those errors, and what is the full text of the error message?

    I don't think it would hurt anything for you to try to remove and re-install the .NET Framework 4.  The steps and tools listed above in this blog post are what I typically recommend for doing this.  You might also want to try to install the .NET Framework 4.5 – it is an in-place upgrade for the .NET Framework 4 and it contains bug fixes that aren't in the .NET Framework 4.

  • Ming Tac says:

    Worked! Great.. Thx for posting this..

  • Silven says:

    I recently decided to try and clean my hard drive up a little bit and deleted a few old unused programs using Control Panel's Add/Remove Programs. Mostly old video games and the like. After rebooting I seem to have deleted something more important, as I am now prompted at Desktop Initialization with this error message.

    .NET Framework Initialization Error

    Please set registry key

    HKLMSoftwareMicrosoft.NETFrameworkInstallRoot to point

    to the .NET Framework install location

    This is also preventing me from launching certain software and applications.

    Control Panel tells me that I currently have .NET Framework 4.5.1 installed, and I'm running Windows 7 so I believe that means that .NET Framework 2.0, 3.0, and 3.5 are also baked into the OS delivery?

    Running CCleaners registry scan tool shows 12 Missing Shared DLL's in the C:WindowsMicrosoft.NETFrameworkv1.0.3705 folder under the HKLMSOFTWAREMicrosoftWindowsCurrentVersionSharedDlls keys.

    I've tried repairing the 4.5.1 install via the Control Panel command, and also tried running the .NET Framework Repair Tool provided by Microsoft. Neither attempts have helped. I was about to try Step 3 and 4 listed here but these next steps involve completely removing and reinstalling all Framework files and I'm a bit nervous to do this. Are there any other possible solutions before moving forward with removing all my .Net Framework files?? Thanks for your expert help!

  • astebner says:

    Hi Silven – I'd suggest trying to use regedit.exe to add the InstallRoot registry key that it says is missing from your computer and see if that solves this problem.  Here is the location that the InstallRoot value should appear on computers that have any version of the .NET Framework installed:

    If you are running a 64-bit version of Windows:

       HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoft.NETFramework

       InstallRoot=C:WindowsMicrosoft.NETFramework

       and

       HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFramework

       InstallRoot=C:WindowsMicrosoft.NETFramework64

    If you are running a 32-bit version of Windows:

       HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFramework

       InstallRoot=C:WindowsMicrosoft.NETFramework

    Note, you'll need to change the exact path listed above if you have Windows installed to a different drive letter than C.

  • Silven says:

    Hi Aaron, thanks for the speedy reply.

    First off, I suppose I should have mentioned I am running 64-bit Windows 7 before.

    I checked for the registries that you mentioned, and the first one in

    HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoft.NET

    isn't there. The .NET folder doesn't exist, was that a typo? Did you mean .NETFramework? Because that folder is there, but it does not have any InstallRoot keys within it.

    The second one located in

    HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFramework

    was there, but the InstallRoot was pointed to the wrong place. It was pointing to

    C:WindowsMicrosoft.NETFramework.

    So I made a .reg text file and entered the following:

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFramework]

    "InstallRoot"="C:\Windows\Microsoft.NET\Framework64\"

    I hope I went about this the right way? Let me know if the first entry is meant to be in the .NETFramework folder and I'll add the InstallRoot to it the same way if that's the right way to do it. Thanks again so much for helping out!

  • Silven says:

    Addendum:

    Nevermind my comment about if you might have made a typo. My browser wasn't full windowed so it was cutting off the rest of what you had written there. I'll add the missing InstallRoot and come back with my results after a reboot.

    Also, sidenote, I'm really not sure why the formatting of my posts keep getting double spaced. Sorry about that.

  • Silven says:

    Hello again Aaron. Just wanted to let you know that your recommended fix worked. After adding the 2 keys that you mentioned, following a reboot I am no longer prompted with an error message on boot-up and the programs that were failing to launch before are now working correctly again.

    Just wanted to follow up in case anyone else runs into the same problem, and say many thanks for saving me the trouble of removing and reinstalling the .NET Framework!

  • astebner says:

    Hi Silven – I'm glad to hear that re-adding those registry keys solved this problem on your computer.  I don't know how to explain why those registry keys were missing in the first place though.  They are created by the installers for every version of the .NET Framework, and it should not be possible for you to have the .NET Framework installed without having those keys in your registry.

  • Richard says:

    Hello Aaron

    i'm running W7 Home Premium SP1 (64) and have a problem with the .NET 4.XX Framework. Right now there is no .NET 4.XX of any Version installed. I checked that manually and also with the verification tool (the older frameworks are all there and are ok). The machine is set up newly from scratch, no programs installed, except all the things, that HP delivers as preinstall.

    The problem startet, when Windows Update wanted to install KB982670 (.Net 4 Client Profile for W7 x64 based Systems). This did not work, the update never got to an end – after several hours i had to do a forced shut down. Then i downloaded the installer manually and tried to install by hand, answering the UAC window with yes … then the install seemed to start, the small circle was rotating for 2 or 3 seconds and thats it. Nothing happened, nothing was installed, no error message came up. Then i tried to install manually the full .NET framework 4, 4.51 (KB2858728) and 4.52 (KB2901907). Same problem, after a few seconds the rotating indicatior changed back to normal cursor mode and nothing happened. There are no "leftovers" or any other trace of .NET 4.XX components on the machine. I also tried to do a clean boot (and there is no Antivirus installed yet) and then a manual install again – but got the same result. Whatever version or component of .NET 4.XX i want to install – simply nothing happens.

    Right now i have to deactivate all the automatic updates connected to .NET 4.XX in order to not get stucked while shutting down the computer. BTW – all other updates are working fine. This is the only issue i have with that computer.

    Any idea or suggestion would be highly appreciated.

    Kind Regards

    Richard  

  • astebner says:

    Hi Richard – Can you please use the tool described at blogs.msdn.com/…/6458047.aspx to collect all of your setup log files, upload the file named %temp%vslogs.cab that this tool will create to a file server (such as http://onedrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?  I'm hoping the logs will give some clue about why and where your .NET Framework 4.x setup attempts are hanging.

  • doreski says:

    Hi Aaron,

    Hoping you can help.

    Tried installing .net framework 3.5 SP1 and 4.0 on XP machine, running SP3.

    I need specifically ver 2 and 4 running for particular apps.

    I have used the removal tool and tried web and standalone installers to install, all to no avail.

    I get the following error when installing 4.0: Error 25015.Failed to install assembly ‘C:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.EnterpriseServices.dll’ because of system error: Access is denied.

    With 3.5 SP1, i get the following error: WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0a is not installed

    I have also tried resetting the ACL's with the tool in your blogs, again to no avail.

    I tried renaming the assembly directory (as some have appeared to have some success with this.. I have not)

    Hoping you can point me in the right direction.

    Regards,

    Dennis.

  • astebner says:

    Hi Doreski – When you tried to reset the ACLs, which exact folders did you reset?  If you haven't yet, you'll need to try to reset the permissions for c:windowsassembly and all of its sub-folders (for the .NET Framework 2.0) and C:WindowsMicrosoft.NETassembly (for the .NET Framework 4 and newer).  In some cases, this access denied error can also be caused by overly aggressive anti-virus or anti-malware programs, so you might want to try to temporarily disable those programs during .NET Framework setup.

    If neither of those ideas help, then I'm not sure what else to suggest.  In that case, you may want to post a question on the .NET Framework setup forum at social.msdn.microsoft.com/…/home to see if someone there has any other ideas for you to try.

  • doreski says:

    Hi Aaron,

    I used the default config that was on the blog

    I copied and pasted the code into reset.cmd and then ran it from the command prompt.

    How would I go about resetting permissions to c:windowsassembly? What should the permissions be?

    Thanks for your help.

    Dennis.

  • astebner says:

    Hi Doreski – You can find instructions for resetting file/folder permissions at support.microsoft.com/…/308419.  You'll need to make sure that c:windowsassembly and c:windowsMicrosoft.NETassembly both allow full control for the SYSTEM account and the Administrators group, and that these permissions should be inherited by all sub-folders.

  • Adam Olean says:

    Hi Aaron,

    Thank you for all of your helpful blog posts dealing with .NET Framework install troubleshooting issues.

    Unfortunately, I went through all of the steps, but I can't seem to resolve reoccurring crashes and Event Viewer errors with Windows 8.1 and .NET Framework 4.5.2., including Application Error 1000 Task (100) and .Net Runtime 1025. These seem to occur, if and only if, I run searches in Logos Bible Software AND A) I change the scope/parameters of my searches, AND B) I send those searches to the same search panel (i.e., rather than sending them to [or performing them in] a new search panel). (FYI, Logos Bible Software is a research library that covers biblical studies and other humanities along with its related brands NOET and Verbum.) I described these issues in some detail and also provided logs on the Logos Bible Software Forums. I had also prematurely indicated that my issues may have been resolved, since, as it turns out, they have continued after performing further testing. Here's the Logos thread where I provided additional information: community.logos.com/…/104870.aspx

    Here's a link to the files from the "Visual Studio and .NET Framework setup log collection tool": onedrive.live.com/redir

    Finally, below are links to Windows Event logs in either .evtx or .txt format. The events include Windows Error Reporting, Application Error 1000 Task (100), and .Net Runtime 1025.

    .evtx format: onedrive.live.com/redir

    .txt format: onedrive.live.com/redir

    Thanks for any feedback you may give, Aaron!

  • astebner says:

    Hi Adam Olean – If you're only seeing this type of issue with this one application, then it is more than likely a problem with the application itself as opposed to a problem with the .NET Framework.  I took a look at your .NET Framework setup logs, and I didn't see any problems there that would indicate that the .NET Framework isn't correctly installed on your PC.

    Hopefully the call stack that you found in your application event log from when the application crashed will help the application manufacturer narrow down this issue further.

  • Adam Olean says:

    Hi Aaron,

    Thank you for taking the time to look over my setup logs and for helping me confirm that .NET Framework is probably not the problem. I think you've pointed out other avenues worth pursuing.

    Much appreciated,

    Adam

  • Ray Butts says:

    Hi Aaron, I keep getting this issue when running Distant worlds, this error happens then DW drops out with a .dll error, i have used .net 4.52 and 4. i have used the repair tool in windows, then the download able repair tool, the removal tool, the verification tool, everything and no luck.

    Please help.

    Application: DistantWorlds.exe

    Framework Version: v4.0.30319

    Description: The process was terminated due to an unhandled exception.

    Exception Info: System.ArgumentOutOfRangeException

    Stack:

      at DistantWorlds.Main.n8Otelu22U(System.Object)

      at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)

      at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

      at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)

      at System.Threading.ThreadHelper.ThreadStart(System.Object)

    the DW error log also.

    Faulting application name: DistantWorlds.exe, version: 1.9.5.12, time stamp: 0x5000a574

    Faulting module name: KERNELBASE.dll, version: 6.1.7601.18869, time stamp: 0x556363bc

    Exception code: 0xe0434352

    Fault offset: 0x0000c42d

    Faulting process id: 0x794

    Faulting application start time: 0x01d09fe44142c23e

    Faulting application path: C:Program Files (x86)SteamsteamappscommonDistant Worlds UniverseDistantWorlds.exe

    Faulting module path: C:Windowssyswow64KERNELBASE.dll

    Report Id: c0e5db59-0bd7-11e5-9d54-08606ee79caf

    I have also used SFC to see if the dll is at issue. It was not

  • astebner says:

    Hi Ray Butts – If you're only seeing this error with this one application, then it is more than likely a problem with the application itself as opposed to a problem with the .NET Framework. I'd recommend searching on the web site for the application's manufacturer to see if they have any known issues, workarounds, or patches for this issue.

  • Ray Butts says:

    Hi Aaron,  thanks for the replay. I have a post up on there web site but only been in touch with forum mods but they are lost on what could be the issue.. But thank you anyway.

    http://www.matrixgames.com/…/tm.asp

  • Ferdinando Simonetti says:

    Hello Aaron.

    This is a call for help from Italy. I'm mainly UNIX sysadmin, so please be kind 🙂

    I'm trying to set up a Sharepoint 2013 SP1 development VM (very very basic).

    I started installing Windows Server 2012R2 and fully patching it (via WSUSOffline + Microsoft Update).

    I went a bit too update-anxious and installed .NET Framework 4.6.1 too…

    Prerequisite installer gave me the thumb up because it saw ".NET Framework 4.5 equivalent software", but Sharepoint installation complained about not finding 4.5 and did not finish.

    I was unable to locate in Control Panel/Installed software (or updates) the .NET 4.6, so I googled around finding your tool.

    Your tool told me that it uninstalled 4.6.1, but Sharepoint keeps complaining that it needs .NET(and prerequisite installer keeps saying "equivalent software").

    Sigh… I don't want to recreate-and-patch the VM 🙁

  • astebner says:

    Hi Ferdinando Simonetti – Windows Server 2012 R2 should come with the .NET Framework 4.5.1 as an OS component unless you're using the Server Core role.  I'm not sure why SharePoint setup would fail in those conditions though.  I'd suggest posting a question on the SharePoint forum at social.technet.microsoft.com/…/home to see if someone there knows of any workarounds for this error.

  • Justin says:

    Hopefully someone here can help.  I have windows 10, so I have 4.6.1 installed from go.  A game I'm trying to run won't run because of an error in .net framework 4.0….I try to install the 4.0 but it says it can't because a higher version is already on my pc.  What can i do?

  • astebner says:

    Hi Justin – Nearly all applications that were written to target the .NET Framework 4 will work correctly if the .NET Framework 4.5, 4.5.1, 4.5.2, 4.6 or 4.6.1 are installed on the PC.  If the application specifically blocks you and tells you to install the .NET Framework 4 instead, that is typically an issue that the application manufacturer will need to release an update to fix.  I'd suggest looking on the web site for the manufacturer of the game that you're trying to play to see if they have any known issues or patches related to running on Windows 10.

  • Gareth Harries says:

    Hi
    Thanks!!! This has just worked for me installing Windows 7 on a MAC. Felt a bit of a long and tortuous process and some long nights, but it finally installed Microsoft Office 7 onto the Windows 7 on the MAC. Just doing the updates now, so hopefully all good.

    Then I can start the update process to Windows 10!

    Thank you very much!

    Gareth

  • Simon says:

    Hi

    I have run into a weird issues with .net. I have a Windows 10 computer that shows up a command promtp but nothing in it.

    the title of the command prompt is this:

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe

    I have tried looking at error logs but cannot find what is initially calling this. i can only use the X button on the top right or CTRL-C to exit. the command prompt window stays until i exit, and within 10-15 it is back again.

    does anyone know how I can resolve this or find a way to see what is initiating the command prompt this way?

    we think the issue started last week, which would suggest a windows update may have caused it.

    1. Hi Simon – That type of behavior could mean that an installer is running in the background on your PC and running RegSvcs.exe as a part of the install process. There might be a log in %temp% to indicate which installer is running, or there might be information in Task Manager or the Application event log to narrow this behavior down further.