Microsoft KB Archive/834536

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

Article ID: 834536

Article Last Modified on 3/22/2004

-

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 &quot;select * from appSettings&quot; 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:  Start Registry Editor.

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Catalog42\NetFrameworkv1

 Change the Value Data of Dll to the following:

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

 Change the Value Data of MachineConfigDirectory to the following:

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

 Open a command prompt.

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

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

</li> Type the following command at command prompt, and then press ENTER:

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

</li> Restart the computer.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section of this article.

<div class="moreinformation_section">

Steps to reproduce the behavior
<ol> Install the .NET Framework version 1.1.</li> Install the .NET Framework version 1.0.</li> 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.</li> Click the Connect button.</li> Type root\NetFrameworkv1 in the Namespace box, and then click Connect.</li> Click Query.</li> Type select * from appSettings in the Enter Query box, and then click Apply.

You receive the following error message:

Provider load failure

.</li></ol>

Additional query words: WMI NDP webm

Keywords: kberrmsg kbprb KB834536

-

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

© Microsoft Corporation. All rights reserved.