Microsoft KB Archive/899721

= You may receive a &quot;Name does not exist&quot; error message when you enable the “Printer Queue Sampling Script Every 15 minutes” event rule in Microsoft Operations Manager 2000 =

Article ID: 899721

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Operations Manager 2000 Service Pack 1

-





SYMPTOMS
When you enable the &quot;Printer Queue Sampling Script Every 15 Minutes&quot; event rule in Microsoft Operations Manager (MOM) 2000 Administrator Console, you may receive the following error message:

Name does not exist

Additionally, MOM 2000 may generate the following query in DNS frames:

_ldap._tcp.dc_mdcs. . _ldap.tcp.Production._sites.dc._msdcs. .Ces

Note This query is not valid.

Also, if you use Network Monitor, you may see network frame data that is similar to the following:  DNS: 0x8585:Std Qry for _ldap._tcp.Production._sites.dc._msdcs.PRDCEPCB918. of type Srv Loc on class INET addr. DNS: Query Identifier = 34181 (0x8585) DNS: DNS Flags = Query, OpCode - Std Qry, RD Bits Set, RCode - No error DNS: 0............... = Request DNS: .0000........... = Standard Query DNS: .....0.......... = Server not authority for domain DNS: ......0......... = Message complete DNS: .......1........ = Recursive query desired DNS: ........0....... = No recursive queries DNS: .........000.... = Reserved DNS: ............0000 = No error DNS: Question Entry Count = 1 (0x1) DNS: Answer Entry Count = 0 (0x0) DNS: Name Server Count = 0 (0x0) DNS: Additional Records Count = 0 (0x0) DNS: Question Section: _ldap._tcp.Production._sites.dc._msdcs.. of type Srv Loc on class INET addr. DNS: Question Name: _ldap._tcp.Production._sites.dc._msdcs.



CAUSE
This problem occurs because the GetObject function in the response script of the &quot;Printer Queue Sampling Script Every 15 minutes&quot; event rule is not correctly initialized.

Note To locate the &quot;Printer Queue Sampling Script Every 15 minutes&quot; event rule in MOM 2000 Administrator Console, expand Rules, expand Processing Rule Groups, expand Microsoft Windows 2000 and 2003 Base Operating System, expand Windows 2000 and 2003 – All Computers, expand Printing Services, and then expand Event Processing Rules.



RESOLUTION
To resolve this problem, modify the GetComputerContainer function in the response script of the &quot;Printer Queue Sampling Script Every 15 minutes&quot; event rule as follows: Function GetComputerContainer(objComputer, strMachineName, strError)

On Error Resume Next

Set objComputer = GetObject(&quot;WinNT://&quot; & strMachineName & &quot;,Computer&quot;)

If Err.Number = 0 Then GetComputerContainer = True Else strError = &quot;(&quot; & Hex(Err.Number) & &quot;): &quot; & Err.Description GetComputerContainer = False End If

End Function



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbtshoot kberrmsg kbprb KB899721

-

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

© Microsoft Corporation. All rights reserved.