Microsoft KB Archive/891641

= The GetParentRuleGroup method does not return the correct rule group objects in Microsoft Operations Manager 2005 =

Article ID: 891641

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Operations Manager (MOM) 2005

-





SYMPTOMS
The Microsoft Operations Manager (MOM) 2005 Software Development Kit (SDK) .NET Framework class libraries include the GetParentRuleGroup method. However, this method does not return the correct rule group objects. For example, when you use the GetParentRuleGroup method to return an active RuleGroup object, the method may return a deleted RuleGroup object. If only one object is active, the GetParentRuleGroup method may return the last deleted object instead of returning the active object.



CAUSE
This problem may occur when the Rule or RuleGroup object has one active parent rule group object and one or more parent RuleGroup objects that are marked as &quot;Deleted&quot;. In this situation, a deleted RuleGroup object may be returned instead of the correct parent RuleGroup object. The GetParentRuleGroup method cannot correctly process instances where a rule or a rule group has multiple parent RuleGroup objects.



Service pack information
To resolve this problem, obtain the latest service pack for Microsoft Operations Manager 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

905416 How to obtain the latest Microsoft Operations Manager 2005 service pack

Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
No prerequisites are required.

Restart requirement
You may have to restart the computer if you do not quit the MOM Administrator Console before you install this hotfix. This hotfix will stop and then restart the MOM service.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

  Date         Time   Version            Size    File name --  15-Feb-2005  02:51  5.0.2749.11       266,240  Microsoft.mom.sdk.dll 15-Feb-2005 02:49                        552  Policy.5.0.microsoft.mom.sdk.config 15-Feb-2005 02:51  5.0.2749.11         3,584  Policy.5.0.microsoft.mom.sdk.dll

Note This is a managed assembly hotfix. This hotfix adds version 5.0.2749.11 of the Microsoft.Mom.Sdk.dll file in the Global Assembly Cache (GAC). The GAC lets many programs share assemblies. The GAC is automatically installed with the Microsoft .NET Framework. This hotfix updates the files in the following folders on the MOM Management Server:
 * %windir%\Assembly\GAC\Microsoft.Mom.Sdk\5.0.2749.11__31bf3856ad364e35
 * %windir%\Assembly\GAC\Policy.5.0.Microsoft.MOM.Sdk\5.0.2749.11__31bf3856ad364e35

You cannot view these directories by using Windows Explorer. To confirm that the hotfix is installed, follow these steps:
 * 1) Click Start, click Run, type cmd, and then click OK to open a command prompt.
 * 2) Change to the %windir%\Assembly folder.
 * 3) Type dir /a /s >c:\assembly.txt, and then press ENTER.
 * 4) Start Notepad, and then open the c:\Assembly.txt file.
 * 5) On the Edit menu, click Find, type 5.0.2749.11, and then click Find Next to find the \GAC\Microsoft.Mom.Sdk\5.0.2749.11__31bf3856ad364e35 and the \Policy.5.0.Microsoft.MOM.Sdk\5.0.2749.11__31bf3856ad364e35 folders.

Installation information
To install this hotfix, follow these steps on each MOM 2005 Management Server in your hierarchy:
 * 1) Copy MOM2005-RTM- KB891641-X86-ENU.EXE to a temporary folder on the MOM 2005 Management Server, or to a folder that is shared on the network.
 * 2) Run MOM2005-RTM- KB891641-X86-ENU.EXE, and then click Apply Microsoft Operations Manager 2005 Software Update. Make sure that you review the hotfix Release Notes before you install this hotfix. To review the Release Notes, click Review this Software Update Release Notes in the hotfix installer wizard. You can run MOM2005-RTM-KB891641-X86-ENU.EXE by using Windows Explorer or by using a command prompt.

Note We recommend that you close the MOM 2005 Administrator Console before you install this hotfix. If you run MOM2005-RTM-KB891641-X86-ENU.EXE while the MOM Administrator Console is running, you must restart the MOM 2005 Management Server to replace files that were being used.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Microsoft Operations Manager 2005 Service Pack 1.



MORE INFORMATION
This hotfix introduces the following changes:
 * The GetParentRuleGroup method does not return RuleGroup objects that are marked as &quot;Deleted&quot;.
 * The GetParentRuleGroup method generates a MomSdkException exception if more than one parent RuleGroup object exists.
 * A new method named GetParentRuleGroups is added to Rule and RuleGroup classes to correctly process instances where more than one parent RuleGroup object exists.

For more information about other problems that are resolved by Microsoft Operations Manager 2005 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:

905420 List of bugs that are fixed in Microsoft Operations Manager 2005 service packs

For more information about the MOM 2005 Software Development Kit (SDK), visit the following Microsoft Web site:

http://technet.microsoft.com/en-us/opsmgr/bb498241.aspx

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional query words: management pack function fix

Keywords: kbqfe kbhotfixserver atdownload kbgetsp kbbug kbopmanrules kbopmanmgmtpack kbopman2005spfix kbopman2005bug kbsdk kbperformance kbmisctools kbfix KB891641

-

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

© Microsoft Corporation. All rights reserved.