DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 942380 - Last Review: September 30, 2011 - Revision: 2.0

Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756  (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows

On This Page

SYMPTOMS

When you try to apply a hotfix or an update, you may receive an error message that resembles the following:
Error 9002. Microsoft Visual Studio .NET 2003 Hotfix (KBxxxxxx) cannot be installed because you have one or more hotfixes installed. Remove them and try again.
You may receive this error message when you try to apply a hotfix or an update for any of the following products:
  • The Microsoft .NET Framework 1.1 or the .NET Framework 1.0
  • Microsoft Visual Studio .NET 2003 or Visual Studio .NET 2002

CAUSE

This problem may occur because of the following:
  • You have applied an unmerged hotfix for the product.

    An unmerged hotfix is a hotfix or an update that will not be included in a service pack or in a product release. This kind of fix is intended to resolve a specific problem that a customer has with a product. However, this fix is unsuitable for general use.
  • You have applied an update that intentionally prevents you from applying a hotfix or an update.

    Some updates intentionally block other updates for technical reasons such as dependencies across updates.

WORKAROUND

To work around this problem, use one of the following methods.

Method 1

Remove the hotfix or update that is blocking the hotfix or update that you are trying to apply.

Typically, you can remove a hotfix or update by using the Add Or Remove Programs item in Control Panel. To determine which hotfix or update you must remove, follow these steps:
  1. Open the Windows Installer (.msi) log for the hotfix or for the update that you could not apply. If you do not have the log, or if you cannot locate the log, use the following command to try to apply the hotfix or update again:
    hotfix_or_update_name.exe /L:log_name.log
  2. In the log file that you located or created in step 1, locate the line that contains text that resembles the following:
    DDPatch:M937058.BlockingPatches=U822550;U832138;U8321381031;U842936;U883661;U8321381036
    The numbers correspond to the blocking hotfixes or updates. The numbers start with either a U or an M.

    If you cannot locate any blocking hotfixes or updates in the log, go to step 4.
  3. Use the Add Or Remove Programs item in Control Panel to remove all hotfixes and updates that appear in the list that you located in step 2. Then, try again to apply the hotfix or update that you tried to apply when you experienced this problem.
  4. If you cannot locate any blocking hotfixes or updates in the log, view the list in the Add Or Remove Programs item in Control Panel to determine which hotfix or update you must remove. To do this, follow these steps:
    1. Open the Add Or Remove Programs item in Control Panel.
    2. Locate all listed hotfixes and updates that correspond to the product that you are trying to update.
    3. Remove the hotfix or update that you applied last. If you have applied multiple hotfixes and updates, and you do not know which hotfix or update you applied last, you can start by removing the hotfix or update that has the highest number.
    4. After you remove the hotfix or update, try to apply the hotfix or update that you tried to apply when you experienced this problem. If you still experience the problem, repeat step c to remove the next most recent hotfix or update. Then, try again to apply the hotfix or update that you tried to apply when you experienced this problem.
    Note You may have to repeat steps c and d for several hotfixes and updates before you can successfully apply the hotfix or update that you tried to apply when you experienced this problem.

Method 2

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Remove the registry entry that indicates the presence of the blocking hotfix or update. The following table lists the registry keys for the products that are mentioned in the "Symptoms" section.
Collapse this tableExpand this table
Number Product Registry key
1 Microsoft .NET Framework 1.0 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\.NETFramework\1.0
2 Microsoft .NET Framework 1.1 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\.NETFramework\1.1
3 Microsoft Visual Studio .NET 2002 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Visual Studio\7.0
4 Microsoft Visual Studio .NET 2003 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Visual Studio\7.1
To remove the registry entry that indicates the presence of the blocking hotfix or update, follow these steps:
  1. Click Start, click Run, type regedit.exe, and then click OK.
  2. Based on the product for which you are trying to apply a hotfix or an update, determine the associated registry key from the table that appears previously.
  3. In Registry Editor, locate the appropriate registry key.
  4. Locate the registry entry for the blocking hotfix or update. For information about how to determine the blocking hotfix or update for which you must remove the registry entry, see steps 1 and 2 in Method 1.
    • Example 1:
      You are trying to apply update 937058 for Microsoft Visual Studio .NET 2003. However, the update is blocked because you previously applied update 842936. In this scenario, you must locate one of the following registry keys:
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Visual Studio\7.1\M842936
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Visual Studio\7.1\U842936
    • Example 2:
      You are trying to apply update 928367 for the Microsoft .NET Framework 1.0. However, the update is blocked because you previously applied update 886906. In this scenario, you must locate one of the following registry keys:
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\.NETFramework\1.0\M886906
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\.NETFramework\1.0\U886906
  5. When you locate the appropriate registry key, right-click the appropriate registry entry, and then click Delete. For example, right-click M842936, and then click Delete.
  6. Exit Registry Editor.
For more information about an unmerged hotfix that you have previously applied, or about an update that is blocked by a previously applied hotfix or update, contact Microsoft Customer Support Services. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)

APPLIES TO
  • Microsoft .NET Framework 1.1 Service Pack 1
  • Microsoft .NET Framework 1.0 Service Pack 3
  • Microsoft Visual Studio .NET 2003 Service Pack 1, when used with:
    • Microsoft Visual Studio .NET 2003 Professional Edition
    • Microsoft Visual Studio .NET 2003 Enterprise Architect
    • Microsoft Visual Studio .NET 2003 Enterprise Developer
    • Microsoft Visual Studio .NET 2003 Academic Edition
    • Microsoft Visual Basic .NET 2003 Standard Edition
    • Microsoft Visual C++ .NET 2003 Standard Edition
    • Microsoft Visual C# .NET 2003 Standard Edition
    • Microsoft Visual J# .NET 2003 Standard Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Professional Edition, when used with:
    • Microsoft Visual Basic .NET 2002 Standard Edition
    • Microsoft Visual C# .NET 2002 Standard Edition
    • Microsoft Visual C++ .NET 2002 Standard Edition
Keywords: 
kbtshoot kbexpertisebeginner kbexpertiseinter kbexpertiseadvanced kbsecurity kbbug KB942380
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support