SMS: Inventory Processor Fails on RAW to MIF Conversion

Last reviewed: March 11, 1997
Article ID: Q160776
1.00 1.10 1.20 WINDOWS kbnetwork kbtool kbbug1.00 kbbug 1.10 kbbug1.20

The information in this article applies to:

  • Microsoft Systems Management Server versions 1.0, 1.1, and 1.2

SYMPTOMS

Machine inventory records do not receive updates in the Systems Management Server database. You may be notice this problem after recently distributing a custom MIF form to clients.

This problem can also be verified by examining the Invproc.log file, located in the Logs directory of the client's site server. A "Compilation failed" entry will appear immediately after "Processing Machine ISV MIF Files."

CAUSE

The Systems Management Server Inventory Processor is rejecting RAW files because one or more custom MIF attribute names contains a trailing space. This is generally caused when you generate the custom MIF form with the Systems Management Server MIF Form Generator (MIFGEN), and a space is accidentally added to the end of a field name.

You can check whether there is a trailing space character by examining the custom MIF file output by the MIF Entry Form (MIFWIN). The following sample section of a custom MIF output contains a space after the PC Asset Number, and would therefore cause the Inventory Processor to fail compilation:

   Start Attribute
         Name = "PC Asset Number "
         ID = 1
         Type = String(35)
         Storage = Specific
         Value = "2485798"
   End Attribute

WORKAROUND

To work around this problem, use the following steps:

  1. Reload the custom MIF form into the MIFGEN utility.

  2. Edit the offending field identified as having trailing spaces in the MIF, typing the item name again, with no trailing space.

  3. As a test, place the XNF file in the Ms\Sms\Bin directory of a client. Remove the .sev and .mif files from the Noidmifs directory for the XNF name (if the XNF file was previously distributed to the client).

  4. Before redistributing the XNF file to clients, or as part of the distribution process, you must remove the .sev and .mif files for the named XNF from the client's Noidmifs directory. Failure to do so will produce a "Form template file is corrupted" error message from MIFWIN on the client.

STATUS

Microsoft has confirmed this to be a problem in Systems Management Server versions 1.0, 1.1, and 1.2. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


KBCategory: kbnetwork kbtool kbbug1.00 kbbug 1.10 kbbug1.20
KBSubcategory: smsinv smsutil
Additional reference words: 1.00 1.10 1.20 prodsms compilation
Keywords : smsinv smsutil
Version : 1.00 1.10 1.20
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 11, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.