Error 2769, Leaked Handles Installing .NET 2.0 RRS feed

  • General discussion


    I am attempting to install .NET Framework 2.0 using the standard Microsoft package downloaded from:

    This is regular .NET Framework 2.0, not any kind of beta or preliminary release candidate, and I am installing
    under Windows XP SP3 with all critical updates applied.

    Immediately prior to this installation attempt, the only .NET Framework items installed on this machine were:

    .NET Framework 1.0 with SP3
    .NET Framework 1.1 with SP1
    .NET Framework 1.1 Hotfix (KB928366)

    All were installed using recent, standard (non-beta, non-RC) downloads directly from Microsoft, and appeared
    to install cleanly.  The .NET setup verification tool indicated that both 1.0 and 1.1 were operating properly.

    .NET Frameworks 1.1, 2.0, 3.0, and 3.5 had been previously installed on this machine, but all .NET Framework
    versions were uninstalled when problems were encountered after attempting to install Visual Studio 8.0 Express.
    After removing these prior installations using Add/Remove Programs from Control Panel, the .NET cleanup_tool
    was also run in order to further clean up any leftovers before re-installing .NET 1.0 and 1.1 as noted above.

    The .NET 2.0 installer appears to get most of the way through, then encounters an error and performs a rollback.
    The same error is produced consistently on this machine.  Here is an excerpt from the relevant portion
    of the installer log:

    MSI (s) (18:A0) [13:17:13:796]: Executing op: CustomActionSchedule(Action=CA_InstallAssemblyRB.3643236F_FC70_11D3_A536_0090278A1BB8,ActionType=1281,Source=BinaryData,Target=UninstallAssembly,CustomActionData=Microsoft.Build.Utilities,Version=,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral,ProcessorArchitecture=MSIL;73728)
    MSI (s) (18:A0) [13:17:13:796]: Executing op: ActionStart(Name=CA_InstallAssemblyDef.3643236F_FC70_11D3_A536_0090278A1BB8,,)
    MSI (s) (18:A0) [13:17:13:796]: Executing op: CustomActionSchedule(Action=CA_InstallAssemblyDef.3643236F_FC70_11D3_A536_0090278A1BB8,ActionType=1025,Source=BinaryData,Target=InstallAssembly,CustomActionData=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Build.Utilities.dll;73728)
    MSI (s) (18:CC) [13:17:13:812]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI30.tmp, Entrypoint: InstallAssembly
    11/25/08 13:17:13 DDSet_Status: LANGID: 1033
    11/25/08 13:17:13 DDSet_Entry: InstallAssembly started
    11/25/08 13:17:13 DDSet_Status: CustomActionData: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Build.Utilities.dll;73728
    11/25/08 13:17:14 DDSet_Status: Loading mscoree.dll
    MSI (s) (18:CC) [13:17:14:046]: Leaked MSIHANDLE (1472) of type 790531 for thread 1996
    MSI (s) (18:CC) [13:17:14:046]: Leaked MSIHANDLE (1471) of type 790531 for thread 1996
    MSI (s) (18:CC) [13:17:14:046]: Note: 1: 2769 2: CA_InstallAssemblyDef.3643236F_FC70_11D3_A536_0090278A1BB8 3: 2
    11/25/08 13:17:14 DDSet_Status: Loading fusion.dll using LoadLibraryShim()
    DEBUG: Error 2769:  Custom Action CA_InstallAssemblyDef.3643236F_FC70_11D3_A536_0090278A1BB8 did not close 2 MSIHANDLEs.
    The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: CA_InstallAssemblyDef.3643236F_FC70_11D3_A536_0090278A1BB8, 2,
    MSI (s) (18:A0) [13:17:14:046]: User policy value 'DisableRollback' is 0
    MSI (s) (18:A0) [13:17:14:046]: Machine policy value 'DisableRollback' is 0
    Action ended 13:17:14: InstallFinalize. Return value 3.

    Everything in the installer log appeared to be ok up to this point.  Then the error with the leaked handles occurs as noted above.

    Please, please, please, any clues as to how to correct this problem???  This has been driving me nuts for two days!!!  :-(

    Kevin M.

    • Changed type Figo Fei Monday, December 1, 2008 2:18 AM to comment
    Tuesday, November 25, 2008 8:53 PM

All replies

  • Can you please use the collect tool mentioned here And upload the (using some upload service such as, then paste the link here for more information.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Friday, November 28, 2008 7:52 AM
  • Hi

    Try to use the following steps:-


    Unregister and then reregister Windows Installer

    This action corrects most situations. Additionally, this action does not affect any currently installed programs that use the Windows Installer.
    1. Unregister Windows Installer. To do this, click Start, click Run, type msiexec /unregister in the Open box, and then click OK.
    2. Reregister Windows Installer. To do this, click click Start, click Run, type msiexec /regserver in the Open box, and then click OK.

    Repair the .NET Framework 2.0

    The following are three ways to repair the .NET Framework.

    Use the Repair command on the Windows Installer cache file

    To repair the .NET Framework 2.0 by using the Windows Installer cache file, follow these steps:
    1. Click Start, click Run, type installer in the Open box, and then click OK.
    2. On the View menu in Windows Installer, click Details, right-click the Name column header, and then click Comment.
    3. Right-click the cached Windows Installer file that has the Microsoft .NET Framework 2.0 RTL x86 enu comment, and then click Repair.
    4. After the repair process has completed, quit Windows Installer.

    Run the .NET Framework 2.0 Redistributable package at a command prompt

    To repair the .NET Framework 2.0 by using the command prompt, follow these steps:
    1. Locate the Dotnetfx.exe file that you used to install the .NET Framework 2.0. To do this, use one of the following methods:
      • If you installed the .NET Framework 2.0 from a CD or from a DVD, insert the installation disk in the CD drive or DVD drive.
      • If you installed the .NET Framework 2.0 from the hard disk, download the .NET Framework 2.0 Setup program to the hard disk.
      • If you installed the .NET Framework 2.0 from a network drive, reconnect to the network drive.
    2. Click Start, click Run, type cmd in the Open box, and then click OK.
    3. At the command prompt, run the following command:
      %InstallationPath%\dotnetfx.exe /t:%temp% /c:"msiexec.exe /fvecms %temp%\netfx.msi"
    Note %InstallationPath% is a placeholder for the path of the Dotnetfx.exe file that you located in step 1.
    Or try to use MS clean up utility to remove the installed applications completly

    Saturday, November 29, 2008 7:53 AM