Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 834536 - Last Review: September 22, 2011 - Revision: 2.0
WMI Configuration Provider does not work if you install the .NET Framework version 1.0 after you install the .NET Framework version 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Â
(http://kbalertz.com/Feedback.aspx?kbNumber=256986/
)
Description of the Microsoft Windows Registry
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:
Note The Wbemtest.exe tool is the Web-Based Enterprise Management (WBEM) testing tool that Windows Management Instrumentation (WMI) implements.
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.
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
- Type the following command at command prompt, and then press ENTER:
regsvr32
%windir%\Microsoft.NET\Framework\v1.0.3705\netfxcfg.dll
- Restart the computer.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.
Steps to reproduce the behavior
- Install the .NET Framework version 1.1.
- Install the .NET Framework version 1.0.
- 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. - Click the Connect button.
- Type root\NetFrameworkv1 in
the Namespace box, and then click Connect.
- Click Query.
- Type select * from appSettings in
the Enter Query box, and then click Apply.
You receive the following error message: .
APPLIES TO
- Microsoft .NET Framework 1.0
- Microsoft .NET Framework 1.1
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate