SMS: Err Msg: ERROR 2 Failed to Run MofCompID: Q237495
|
When you modify the default Sms_def.mof file that comes with Systems Management Server 2.0 Service Pack 1, you may not be able to compile the MOF on the client computer during a hardware inventory cycle. The Hinv32.log file contains any of the following error messages:
orERROR 2 - Failed to run MofComp !
Error Syntax 0X007F
This issue occurs because the MOF Manager tool (Mofman.exe) inserts 8 blank classes at the top of the Sms_def.mof file when you save it. When the Hardware Inventory Agent on the client computer attempts to compile the new Sms_def.mof file, it fails because of the blank classes.
WARNING: The Sms_def.mof file located on the site server is the source for hardware inventory data to query on all clients in the site. You need to be careful when you edit this file.
To avoid this problem, use Notepad to make changes to the Sms_def.mof file instead of the MOF Manager tool. To do this, follow these steps:
//==================================================================
// Register SMS CIMV2 Provider
//==================================================================
#pragma namespace ("\\\\.\\root\\cimv2\\SMS")
[SMS_Report(FALSE),
SMS_Group_Name(""),
SMS_Class_ID("")]
class
{
};
[SMS_Report(FALSE),
SMS_Group_Name(""),
SMS_Class_ID("")]
class
{
};
Microsoft has confirmed this to be a problem in Systems Management Server version 2.0.
Additional query words: prodsms SMS20POSTSP1
Keywords : kbenv kbtool kbSMS200 kbSMS200bug
Version : winnt:2.0
Platform : winnt
Issue type : kbbug
Last Reviewed: August 9, 1999