Microsoft KB Archive/892463

= You receive an error message when you try to remove assemblies by using the GacUtil utility in the .NET Framework 1.0 =

Article ID: 892463

Article Last Modified on 1/28/2005

-

APPLIES TO


 * Microsoft .NET Framework 1.0

-





SYMPTOMS
When you try to remove an assembly from the Global Assembly Cache (GAC) by using the by using the GacUtil /u command in Microsoft .NET Framework 1.0, you receive an error message that is similar the following:

Unable to uninstall: assembly is required by one or more applications

Pending references:

SCHEME:  ID:  DESCRIPTION : 

Number of items uninstalled = 0

Number of failures = 0

Note The assembly that you are trying to remove was not installed by using the Windows Installer. The assembly was installed by using the GacUtil /i command.



CAUSE
This problem occurs when the following two conditions are true:
 * The GacUtil utility checks with the Windows Installer to determine whether the assembly is independent from other assembly interference.
 * The Windows Installer reports to the GacUtil utility that the assembly is independent from other assembly interference when the default subkey contains a value for any one of the following registry subkeys:



RESOLUTION
To resolve this problem, remove the value from the Default subkeys for the following registry subkeys if the subkey has a value other than &quot;Value not set:&quot;

The default value for all these subkeys is (Value not set).



Steps to reproduce the problem

 * 1) At a command prompt, install the assembly by typing the following command: C:\ \Microsoft.NET\Framework\v1.0.3705\Gacutil.exe /i  :/ / .dll
 * 2) At a command prompt, remove the assembly by typing the following command: C:\ \Microsoft.NET\Framework\v1.0.3705\Gacutil.exe /u

Note You receive an error message.

Keywords: kbfix kbprb KB892463

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.