You may receive a "Name does not exist" error message when you enable the "Printer Queue Sampling Script Every 15 minutes" event rule in Microsoft Operations Manager 2000 (899721)



The information in this article applies to:

  • Microsoft Operations Manager 2000

SYMPTOMS

When you enable the "Printer Queue Sampling Script Every 15 Minutes" 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.<host name>. _ldap.tcp.Production._sites.dc._msdcs.<host name>.CesNote 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.<Host name>. of type Srv Loc on class INET addr. DNS: Question Name: _ldap._tcp.Production._sites.dc._msdcs.<Host name>

CAUSE

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

Note To locate the "Printer Queue Sampling Script Every 15 minutes" 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 "Printer Queue Sampling Script Every 15 minutes" event rule as follows:
Function GetComputerContainer(objComputer, strMachineName, strError)

On Error Resume Next

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

   If Err.Number  = 0 Then
      GetComputerContainer = True
   Else
      strError = "(" & Hex(Err.Number) & "): " & 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 "Applies to" section.

Modification Type:MajorLast Reviewed:8/17/2005
Keywords:kbtshoot kberrmsg kbprb KB899721 kbAudITPRO