WMI Configuration Provider does not work if you install the .NET Framework version 1.0 after you install the .NET Framework version 1.1 (834536)



The information in this article applies to:

  • Microsoft .NET Framework 1.0
  • Microsoft .NET Framework 1.1

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

If you install version 1.0 of the Microsoft .NET Framework after you have installed version 1.1 of the .NET Framework, the Windows Management Instrumentation Tester tool, Wbemtest.exe, does not successfully execute a query such as the "select * from appSettings" query. Additionally, you receive the following error message:
Provider load failure
Note The Wbemtest.exe tool is the Web-Based Enterprise Management (WBEM) testing tool that Windows Management Instrumentation (WMI) implements.

CAUSE

This problem occurs because two versions of the .NET Framework are installed. The installation of two programs causes the incorrect installation of the .NET Framework 1.0 WMI Configuration Provider, and causes the error message that is described earlier.

RESOLUTION

To resolve this problem, follow these steps:
  1. Start Registry Editor.

    Click Start, click Run, type %WINDIR%\regedit.exe in the Open box, and then click OK.
  2. Expand the following node:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Catalog42\NetFrameworkv1

  3. Change the Value Data of Dll to the following:

    %WINDIR%\Microsoft.NET\Framework\v1.0.3705\netfxcfg.dll

  4. Change the Value Data of MachineConfigDirectory to the following:

    %WINDIR%\Microsoft.NET\Framework\v1.0.3705\CONFIG\

  5. Open a command prompt.

    Click Start, click Run, type cmd in the Open box, and then click OK.
  6. Type the following command at command prompt, and then press ENTER:

    regsvr32 %windir%\Microsoft.NET\Framework\v1.0.3705\netfxcfgprov.dll

  7. Type the following command at command prompt, and then press ENTER:

    regsvr32 %windir%\Microsoft.NET\Framework\v1.0.3705\netfxcfg.dll

  8. Restart the computer.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

MORE INFORMATION

Steps to reproduce the behavior

  1. Install the .NET Framework version 1.1.
  2. Install the .NET Framework version 1.0.
  3. Start the Windows Management Instrumentation Tester tool, Wbemtest.exe.

    Click Start, click Run, type wbemtest in the Open box, and then click OK. The Windows Management Instrumentation Tester dialog box appears.
  4. Click the Connect button.
  5. Type root\NetFrameworkv1 in the Namespace box, and then click Connect.
  6. Click Query.
  7. Type select * from appSettings in the Enter Query box, and then click Apply.

    You receive the following error message:
    Provider load failure
    .

Modification Type:MajorLast Reviewed:3/22/2004
Keywords:kberrmsg kbprb KB834536 kbAudDeveloper