Welcome to MSDN Blogs Sign in | Join | Help

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.

  2. If a repair 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
  3. If you are attempting to uninstall the .NET Framework 2.0 and it fails, download and run the Microsoft .NET Framework 2.0 Registration Correction Tool (also named clwireg.zip and described in more detail in this blog post), and then try to uninstall the .NET Framework 2.0 again.  If you are encountering errors uninstalling a version of the .NET Framework other than 2.0, you can skip this step because this tool only works for the .NET Framework 2.0.
  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 2.0 with SP1
    .NET Framework 2.0 with SP2
    .NET Framework 3.0
    .NET Framework 3.0 with SP1
    .NET Framework 3.5
    .NET Framework 3.5 with SP1

    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>

 

Comments

Friday, March 07, 2008 8:00 PM by Aaron Stebner's WebLog

# Unified .NET Framework Troubleshooting Guide

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

# Aaron Stebner's WebLog : What to do if other .NET Framework setup troubleshooting steps do not help

Monday, March 10, 2008 4:05 PM by jkwan

# .Net framework cleanup tool

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

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

Monday, March 10, 2008 4:53 PM by astebner

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

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.

Tuesday, March 11, 2008 6:20 PM by Nicholas Wourms

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

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.

Thursday, April 17, 2008 2:26 PM by pete campbell

# Nothing yet has worked

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:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.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?

Thursday, April 17, 2008 3:18 PM by astebner

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

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.

Thursday, April 17, 2008 3:58 PM by pete campbell

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

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.  

Friday, April 18, 2008 2:56 PM by astebner

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

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/

Monday, April 21, 2008 8:57 PM by Aaron Stebner's WebLog

# Possible issue where .NET Framework 2.0 SP1 setup can fail and corrupt the .NET Framework 2.0

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

Tuesday, June 10, 2008 12:38 PM by peraita

# Consistent Bluescreen error on .NET Framework removal

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.

Tuesday, June 10, 2008 12:47 PM by astebner

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

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.

Friday, August 29, 2008 6:01 PM by Aaron Stebner's WebLog

# .NET Framework Cleanup Tool User's Guide

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

# Trouble Installing .Net 3.5 in some cases &laquo; Albert&#8217;s Weblog

Friday, January 16, 2009 3:29 PM by D.Hagop

# A Short Method to Fix .NET Problems?

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]

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

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

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

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

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

8. 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.

Friday, January 16, 2009 3:38 PM by astebner

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

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.

Tuesday, January 27, 2009 8:48 AM by ashishdave

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

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..!

Tuesday, January 27, 2009 11:40 AM by astebner

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

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.

Tuesday, January 27, 2009 12:23 PM by ashishdave

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

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>

Tuesday, January 27, 2009 8:54 PM by astebner

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

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.

Wednesday, February 04, 2009 4:24 PM by Error 1304 Installing SQL Support Files &laquo; A Blog on Tech

# Error 1304 Installing SQL Support Files &laquo; A Blog on Tech

Monday, March 23, 2009 4:25 PM by Mantvydas

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

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.

Monday, March 23, 2009 5:45 PM by astebner

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

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.

Thursday, June 18, 2009 7:56 AM by <Jose A. Fernandez />

# .NET Framework Cleanup Tool

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

Thursday, June 18, 2009 9:55 AM by Jose A. Fernandez

# .NET Framework Cleanup Tool

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

# Automated cleanup tool to remove the .NET Framework 1.0, 1.1, 2.0, 3.0 and 3.5 | SnakeBytez

Anonymous comments are disabled
 
Page view tracker