PRB: "System.Runtime.InteropServices" Error Message When You Install the .NET Framework from Active Directory (815210)



The information in this article applies to:

  • Microsoft .NET Framework 1.1
  • Microsoft Windows 2000 Server
  • Microsoft Windows XP Professional

SYMPTOMS

You have a network domain that uses a Windows 2000 Server-based computer as the domain server. You publish the .NET Framework 1.1 package in the Active Directory directory service of the server. You have a Windows XP-based computer that is connected to the domain as the client. When you try to install .NET Framework 1.1 on the Windows XP-based computer by using the published installation package for .NET Framework 1.1 in Active Directory, you may receive the following error message in Event Viewer:

System.EnterpriseServices failed to install. Please fix the problem (see exception below) and run 'regasm System.EnterpriseServices.dll' again to install System.EnterpriseServices.
Exception:
'System.Runtime.InteropServices.COMException (0x8011043E): Object was not found in registry
at System.EnterpriseServices.Admin.ICatalog.ImportComponent(String bstrApplIdOrName, String bstrCLSIDOrProgId)
at System.EnterpriseServices.RegistrationHelperTx.InstallUtilityApplication(Type t)'

WORKAROUND

To work around this problem, register the System.Enterprises.dll assembly by using the Regasm tool. To do this, follow these steps:
  1. From the command prompt, navigate to the .NET Framework 1.1 directory. Typically, the directory is located at:

    C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
  2. Type the following command:

    regasm System.EnterpriseServices.dll
  3. Press ENTER to register the assembly.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce the Problem

Note You must have a Windows 2000 Server-based computer that runs as the domain server.
  1. In Active Directory, create a .NET Framework 1.1 package, and then publish that package to the user.
  2. In Active Directory, enable administrative credentials for Windows Installer.
  3. Add a Windows XP-based computer as a client to the domain.
  4. Logon as a domain user.
  5. On the taskbar, click Start, point to Settings, and then click Control Panel.
  6. Double-click Add or Remove Programs.
  7. In the left pane, click Add New Programs.

    You may notice a list of programs that are available from the network under Add programs from your network.
  8. In the list of available programs, select Microsoft .NET Framework 1.1, and then click Add.
  9. Follow the installation instructions to install .NET Framework 1.1.
  10. On the taskbar, click Run. In the Open box, type eventvwr, and then click OK to start Event Viewer.

    In the application error records of Event Viewer, you may notice the error that is described in the "Symptoms" section.

Modification Type:MajorLast Reviewed:10/28/2003
Keywords:kbenable kbEventLog kbHOWTOmaster kbhowto kberrmsg kbsetup kbDirServices kbDeployment kbServer kbdomain kbActiveDirectory kbprb KB815210 kbAudDeveloper