Microsoft KB Archive/937213

= The performance counter registry entries may not uninstall when you try to uninstall Windows Workflow Foundation in the .NET Framework 3.0 =

Article ID: 937213

Article Last Modified on 6/4/2007

-

APPLIES TO


 * Microsoft .NET Framework 3.0

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you try to uninstall Microsoft Windows Workflow Foundation in the Microsoft .NET Framework 3.0, the performance counter registry entries may not uninstall. When you install Windows Workflow Foundation on the same computer again, performance counters are not created because the registry entries are present. Additionally, when Windows Workflow Foundation runs, runtime errors may occur.



CAUSE
This problem occurs if the NativeMethods.UnloadPerfCounterTextStrings function call fails in the PerformanceCounterInstaller.Uninstall method.



WORKAROUND
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To work around this problem, follow these steps:  Remove the  subkey under the   registry key. To do this, follow these steps:  Click Start, click Run, type regedit, and then click OK. Locate and then click the following key in the registry:

 On the Edit menu, click Delete. In the Confirm Key Delete dialog box, click Yes in the Are you sure you want to delete this key and all of its subkeys message box. On the File menu, click Exit to exit Registry Editor.</li></ol> </li> Install Windows Workflow Foundation again.</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.

Keywords: kbtshoot kbprb KB937213

-

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

© Microsoft Corporation. All rights reserved.