Workstations are being imported when the Reporting Tool is configured to only import resource inform (NETIQKB29569)

  • 7729569
  • 02-Feb-2007
  • 14-May-2007

Resolution

fact
Directory and Resource Administrator 6.50

fact
Directory and Resource Administrator 6.60

fact
Directory and Resource Administrator 7.x

symptom
Workstations are being imported when the Reporting Tool is configured to only import resource information for servers.

symptom
The Reporting Tool is configured to import resource information with the 'Servers only' option selected on the Resources tab.  However, the Reporting Tool is gathering information from Workstations.

cause
If the computer is unavailable, the default computer type that is returned is TYPE_SERVER_NT "Unavailable Server".  The Reporting Tool should not be trying to import anything else from unavailable computers.

fix

The following changes can be made to the Reporting Tool so that the import process does not gather information regarding unavailable computers:

  1. Launch the Reporting Tool.
  2. Select Enter Design Mode from the File menu.
  3. Select Modules from the Objects list.
  4. Select the Import module from the list and click Design.
  5. Select ImportEaComputers from the (Declarations) drop down menu.
  6. In the Import module, and in the ImportEaComputers() function, change the following two lines of code:
  7. From:

    If bJustComputers Or Not bIsAvailable Then
       If sMcsClass = "Computer" Then

    To this:

    If bJustComputers Or Not bIsAvailable Then
       If False And sMcsClass = "Computer" Then

  8. Select Save OaRept from the File drop down menu.
  9. Select Close and Return to Microsoft Access from the File drop down menu.
  10. Select Exit from the File drop down menu to close the Reporting Tool.


Additional Information

Formerly known as NETIQKB29569