Script to generate reports runs without errors but does not create any html report files. (NETIQKB39150)

  • 7739150
  • 02-Feb-2007
  • 22-Feb-2008

Resolution

fact
NetIQ Group Policy Administrator 3.0

symptom
Script to generate reports runs without errors but does not create any html report files.

cause
The Distiguished Name syntax is case sensative.

fix

To resolve this issue make certain the DC properties in the path are capitalized. 

Example:

The following syntax will not generate reports:

Dim rp
 
set rp = CreateObject("FAZAM2000.PolicyManager")
 
rp.ReportPolicy "LDAP:// PDC01.acme.com/CN={0D1C8DE5-E1D9-4007-B010-7FCB26F84EC5},CN=Policies,CN=System,dc=Acme,dc=com","c:\temp\report.htm",1
 
set rp = nothing

wscript.Echo "Report Complete"

 

However, by changing the occurences of 'dc' to 'DC' (all capitals) reports will run correctly:

Dim rp
 
set rp = CreateObject("FAZAM2000.PolicyManager")
 
rp.ReportPolicy "LDAP:// PDC01.acme.com/CN={0D1C8DE5-E1D9-4007-B010-7FCB26F84EC5},CN=Policies,CN=System,DC=Acme,DC=com","c:\temp\report.htm",1
 
set rp = nothing

wscript.Echo "Report Complete"



note
This issue is resolved in the NetIQ Group Policy Administrator 4.0 release. The syntax in NetIQ Group Policy Administrator 4.0 has changed considerably.  In addition, the Distinguished Name is no longer case sensitive in NetIQ GPA 4.0.

Additional Information

Formerly known as NETIQKB39150