Microsoft KB Archive/98624

= LANMAN.MIB Does Not Compile =

Article ID: 98624

Article Last Modified on 7/30/2001



This article was previously published under Q98624



SUMMARY
The LANMAN.MIB Simple Network Management Protocol (SNMP) Management Information Base (MIB) will not compile completely because of syntax errors and lack of support for RFC1155 and RFC1215 by the compiler manufacturer.



SYMPTOMS
The LANMAN.MIB file returns errors when SNMP MIB compilers try to compile it.



CAUSE
Syntax errors are generated because of problems in six lines:

  Line 1 is missing: DEFINITIONS ::= BEGIN IMPORT.......  Lines 420, 426, and 432 generate syntax errors from stating &quot;Size&quot; instead of &quot;size&quot; or &quot;SIZE.&quot; Line 859 generates a syntax error from the missing right parenthesis: &quot;(size(1..20)&quot; instead of &quot;(size(1..20)).&quot; Line 953 generates a syntax error on TRAP-TYPE/ENVIRONMENT macro.



To correct line 1
Check with the SNMP MIB compiler supplier to verify how to specify the beginning of the MIB and what if any IMPORTS are necessary to support RFC1155. According to Microsoft specifications, the object definitions for the LANMAN.MIB should be supported by RFC1155.

To correct lines 420, 426, and 432
Use all lowercase or all uppercase letters for the word SIZE. This is sometimes MIB compiler specific.

To correct line 859
Add the matching right parenthesis after &quot;20)&quot;.

To correct line 953
Check with the SNMP compiler supplier to verify how to specify support for RFC1215, which defines the TRAP-TYPE/ENVIRONMENT macro.

Additional query words: 2.10 2.1 2.10a 2.1a 2.20 2.2 tcpip

Keywords: KB98624

-

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

© Microsoft Corporation. All rights reserved.