GPMC Error: "Key cannot be null" via Group Policy Results Wizard

Discussion in 'Active Directory' started by GeoTech, Nov 19, 2007.

  1. GeoTech

    GeoTech Guest

    I have a curious error while using the GPMC when I attempt to use the group
    policy results wizard I get the following error under the "Summary" and
    "Settings" tab of the report.

    An error occurred while generating the report
    Key cannot be null. Parameter name: key

    I've goggled and can't find another reference to this error as it relates to
    GPMC and there are no further errors in the event log of the DC's or
    workstation. I have tried GPMC (sp1) on three DC's and a workstation with the
    same results. I have Enterprise Admin and Schema rights.

    It used to work, but it’s been awhile since I have had to troubleshoot a
    policy error. Does anyone have a suggestion? Thanks, Ken
     
    GeoTech, Nov 19, 2007
    #1
    1. Advertisements

  2. GeoTech

    Jorge Silva Guest

    Hi
    Try to Download the latest version of that tool, uninstall the current, and
    re-install it again.

    --
    ===================================
    I hope that the information above helps you.
    Have a Nice day.

    Jorge Silva
    MCSE, MVP Directory Services
    ===================================
     
    Jorge Silva, Nov 20, 2007
    #2
    1. Advertisements

  3. GeoTech

    GeoTech Guest

    Hi Jorge,

    I am using GPMC SP1 version 1.0.2 dated 6-15-2004. I have searched and
    cannot find a newer version. Normaly I have all my manageing tools on one
    workstation, when it failed to work I installed GPMC directly on to two of my
    DC's and it fails on both. Thanks, Ken
     
    GeoTech, Nov 20, 2007
    #3
  4. GeoTech

    GeoTech Guest

    I have since turend on verbose error logging and have captured the the
    following two log files:

    gpmgmt.log
    [131c.f20] 11/20/2007 09:10:27:952 [VERBOSE] CGPM::InitialiseReporting :
    Adm Path = <(null)>
    [131c.1170] 11/20/2007 09:10:27:952 [VERBOSE]
    CGPMReport::GetReportFactoryObject: Going to start creating the ReportFactory
    object
    [131c.f20] 11/20/2007 09:10:27:967 [VERBOSE] GetDomainDN: Domain FQDN of
    domain corp.mycorp.com = DC=corp,DC=mycorp,DC=com

    [131c.f20] 11/20/2007 09:10:27:999 [VERBOSE] GETADSIHandle: successfully
    bound to ds object escaped
    <LDAP://dc1.corp.mycorp.com/DC=corp,DC=mycorp,DC=com>
    [131c.f20] 11/20/2007 09:10:27:999 [VERBOSE] GetDomainDN: Domain FQDN of
    domain corp.mycorp.com = DC=corp,DC=mycorp,DC=com

    [131c.f20] 11/20/2007 09:10:27:999 [VERBOSE] GETADSIHandle: successfully
    bound to ds object escaped
    <LDAP://dc1.corp.mycorp.com/DC=corp,DC=mycorp,DC=com>
    [131c.f20] 11/20/2007 09:10:28:014 [VERBOSE] CForest::GetTrustedDomains was
    called for corp.mycorp.com forest and corp.mycorp.com domain
    [131c.f20] 11/20/2007 09:10:28:014 [VERBOSE] CForest::GetForestAndDomain
    was called for CORP.mycorp.COM
    [131c.f20] 11/20/2007 09:10:28:014 [VERBOSE]
    CForest::GetForestAndDomain::DsGetDcName Forest: corp.mycorp.com Domain:
    corp.mycorp.com
    [131c.f20] 11/20/2007 09:10:28:014 [VERBOSE] CForest::GetForestAndDomain
    was called for corp.mycorp.com
    [131c.f20] 11/20/2007 09:10:28:014 [VERBOSE]
    CForest::GetForestAndDomain::DsGetDcName Forest: corp.mycorp.com Domain:
    corp.mycorp.com
    [131c.f20] 11/20/2007 09:10:28:030 [VERBOSE]
    CForest::CheckForestAndDomainTrust same forest: corp.mycorp.com
    [131c.f20] 11/20/2007 09:10:28:030 [VERBOSE] GetDomainDN: Domain FQDN of
    domain corp.mycorp.com = DC=corp,DC=mycorp,DC=com

    [131c.f20] 11/20/2007 09:10:28:030 [VERBOSE] GETADSIHandle: successfully
    bound to ds object escaped
    <LDAP://dc1.corp.mycorp.com/DC=corp,DC=mycorp,DC=com>
    [131c.f20] 11/20/2007 09:10:28:030 [VERBOSE] GetDomainDN: Domain FQDN of
    domain corp.mycorp.com = DC=corp,DC=mycorp,DC=com

    [131c.f20] 11/20/2007 09:10:28:030 [VERBOSE] GetDomainDN: Domain Dns of
    FQDN DC=corp,DC=mycorp,DC=com = corp.mycorp.com

    [131c.f20] 11/20/2007 09:10:28:045 [VERBOSE] GETADSIHandle: successfully
    bound to ds object escaped
    <LDAP://dc1.corp.mycorp.com/DC=corp,DC=mycorp,DC=com>
    [131c.f20] 11/20/2007 09:10:28:186 [VERBOSE] IsForestDotNet(): Domain =
    corp.mycorp.com, DC = dc1.corp.mycorp.com
    [131c.f20] 11/20/2007 09:10:28:202 [VERBOSE] IsForestDotNet(): Path =
    CN=Windows2003Update,CN=ForestUpdates,CN=Configuration,DC=corp,DC=mycorp,DC=com
    [131c.f20] 11/20/2007 09:10:28:202 [VERBOSE] GETADSIHandle: successfully
    bound to ds object escaped
    <LDAP://dc1.corp.mycorp.com/CN=Windows2003Update,CN=ForestUpdates,CN=Configuration,DC=corp,DC=mycorp,DC=com>
    [131c.f20] 11/20/2007 09:10:28:202 [VERBOSE] GetDomainDN: Domain FQDN of
    domain corp.mycorp.com = DC=corp,DC=mycorp,DC=com

    [131c.f20] 11/20/2007 09:10:28:202 [VERBOSE] GetDomainDN: Domain Dns of
    FQDN DC=corp,DC=mycorp,DC=com = corp.mycorp.com

    [131c.f20] 11/20/2007 09:10:28:217 [VERBOSE] GETADSIHandle: successfully
    bound to ds object escaped
    <LDAP://dc1.corp.mycorp.com/DC=corp,DC=mycorp,DC=com>
    [131c.f20] 11/20/2007 09:10:28:217 [VERBOSE] GetGPOContainerPath(): Domain:
    DC=corp,DC=mycorp,DC=com
    [131c.f20] 11/20/2007 09:10:28:217 [VERBOSE] GetGPOContainerPath():
    GPOContainer: CN=Policies,CN=System,DC=corp,DC=mycorp,DC=com
    [131c.f20] 11/20/2007 09:10:28:217 [VERBOSE] GETADSIHandle: successfully
    bound to ds object escaped
    <LDAP://dc1.corp.mycorp.com/CN=Policies,CN=System,DC=corp,DC=mycorp,DC=com>
    [131c.f20] 11/20/2007 09:10:28:217 [VERBOSE] CheckDSCreateAccess: Can
    create objects of type groupPolicyContainer
    [131c.f20] 11/20/2007 09:10:28:217 [VERBOSE] CGPMSOM::~CGPMSOM: Destructor
    for CGPMSOM DC=corp,DC=mycorp,DC=com getting called
    [131c.f20] 11/20/2007 09:10:28:233 [VERBOSE] IsDomainDotNet(): Path =
    CN=Windows2003Update,CN=DomainUpdates,CN=System,DC=corp,DC=mycorp,DC=com
    [131c.f20] 11/20/2007 09:10:28:233 [VERBOSE] GETADSIHandle: successfully
    bound to ds object escaped
    <LDAP://dc1.corp.mycorp.com/CN=Windows2003Update,CN=DomainUpdates,CN=System,DC=corp,DC=mycorp,DC=com>
    [131c.f20] 11/20/2007 09:10:28:233 [VERBOSE] GetWMIPolicyPath(): Domain:
    DC=corp,DC=mycorp,DC=com
    [131c.f20] 11/20/2007 09:10:28:233 [VERBOSE] GetWMIPolicyPath(): WMIPolicy:
    CN=SOM,CN=WMIPolicy,CN=System,DC=corp,DC=mycorp,DC=com
    [131c.f20] 11/20/2007 09:10:28:233 [VERBOSE] GETADSIHandle: successfully
    bound to ds object escaped
    <LDAP://dc1.corp.mycorp.com/CN=SOM,CN=WMIPolicy,CN=System,DC=corp,DC=mycorp,DC=com>
    [131c.f20] 11/20/2007 09:10:28:249 [VERBOSE] CheckDSCreateAccess: Can
    create objects of type msWMI-Som
    [131c.f20] 11/20/2007 09:10:28:249 [VERBOSE] GetDomainDN: Domain FQDN of
    domain corp.mycorp.com = DC=corp,DC=mycorp,DC=com

    [131c.f20] 11/20/2007 09:10:28:249 [VERBOSE] GETADSIHandle: successfully
    bound to ds object escaped
    <LDAP://dc1.corp.mycorp.com/DC=corp,DC=mycorp,DC=com>
    [131c.f20] 11/20/2007 09:10:36:655 [VERBOSE] ResolveTrustee(): Resolving
    account <mycorp\mycorpAdmin> Domain Controller <(null)>.
    [131c.1138] 11/20/2007 09:10:38:374 [VERBOSE]
    CGPMReport::GetReportFactoryObject: Reporting object is already created
    [131c.1138] 11/20/2007 09:10:39:795 [WARNING] CGPMReport::GenerateReport
    :ConvertToXml/Html failed with 0x80004003.
    [131c.1138] 11/20/2007 09:10:39:795 [WARNING]
    CGPMReport::GenerateReportFromRSOP : GenerateReport failed with 0x80004003

    gpmgmtManaged.log
    Reporting(4892.4464)09:10:33 AdmLocation::Initialise:No Adm path specified
    Reporting(4892.4464)09:10:33 AdmPolicyTree::.ctor:parsing adm file
    C:\WINNT\inf\wmplayer.adm
    Reporting(4892.4464)09:10:33 AdmPolicyTree::.ctor:parsing adm file
    C:\WINNT\inf\conf.adm
    Reporting(4892.4464)09:10:33 AdmPolicyTree::.ctor:parsing adm file
    C:\WINNT\inf\wuau.adm
    Reporting(4892.4464)09:10:33 AdmPolicyTree::.ctor:parsing adm file
    C:\WINNT\inf\inetres.adm
    Reporting(4892.4464)09:10:33 AdmPolicyTree::.ctor:parsing adm file
    C:\WINNT\inf\system.adm
    Reporting(4892.4408)09:10:38
    Rsop::Initialize:----------------------------------------------
    Reporting(4892.4408)09:10:38 Rsop::Initialize:Namespace=
    \\lcs1\Root\Rsop\NSE57A0B3A_A5AE_4324_83D0_7EE23D839688
    Reporting(4892.4408)09:10:38
    Rsop::Initialize:----------------------------------------------
    Reporting(4892.4408)09:10:38 Rsop::Initialize:Initialising computer RSOP data
    Reporting(4892.4408)09:10:38 RsopTargetResults::.ctor:Name = mycorp\LCS1$
    Reporting(4892.4408)09:10:38 Rsop::Initialize:Initialising user RSOP data
    Reporting(4892.4408)09:10:38 RsopTargetResults::.ctor:Name =
    mycorp\mycorpAdmin
    Reporting(4892.4408)09:10:38 Rsop::Initialize:Namespace is of LoggedData type
    Reporting(4892.4408)09:10:38 RsopTargetResults::Initialize:Extension
    <registry> is defined in RSOP
    Reporting(4892.4408)09:10:38 RegistrySettings::InitializeRsop:Updating adm
    file: Corresponding adm file not found in the global cache. Adding this
    Reporting(4892.4408)09:10:38 AdmPolicyTree::.ctor:parsing adm file
    \\corp.mycorp.com\sysvol\corp.mycorp.com\Policies\{31B2F340-016D-11D2-945F-00C04FB984F9}\Adm\desktopsearch30.adm
    Reporting(4892.4408)09:10:38 RsopTargetResults::Initialize:Added Extension
    [Registry] to extension list
    Reporting(4892.4408)09:10:38 RsopTargetResults::Initialize:Extension
    <Custom!!!> ({00000000-0000-0000-0000-000000000000}) is defined in RSOP
    Reporting(4892.4408)09:10:38 RsopTargetResults::Initialize:Extension <IE> is
    defined in RSOP
    Reporting(4892.4408)09:10:39 RsopTargetResults::Initialize:Added Extension
    [Internet Explorer Maintenance] to extension list
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\Cryptography\AutoEnrollment is a public key
    setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\Trust\CRLs is a public key
    setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\Cryptography\AutoEnrollment is a public key
    setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\Trust\CTLs is a public key
    setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\Trust\Certificates is a public
    key setting
    Reporting(4892.4408)09:10:39 RsopTargetResults::Initialize:Extension
    <PublicKey> is defined in RSOP
    Reporting(4892.4408)09:10:39 PublicKeySettings::Initialize:Getting
    Autoenrollment properties
    Reporting(4892.4408)09:10:39 RsopTargetResults::Initialize:Added Extension
    PKI to extension list
    Reporting(4892.4408)09:10:39 RsopTargetResults::Initialize:Extension
    <Security> is defined in RSOP
    Reporting(4892.4408)09:10:39 RsopTargetResults::Initialize:Added Extension
    [Security] to extension list
    Reporting(4892.4408)09:10:39 RsopTargetResults::Initialize:Extension
    <registry> is defined in RSOP
    Reporting(4892.4408)09:10:39 RegistrySettings::InitializeRsop:Updating adm
    file: Corresponding adm file not found in the global cache. Adding this
    Reporting(4892.4408)09:10:39 AdmPolicyTree::.ctor:parsing adm file
    \\corp.mycorp.com\sysvol\corp.mycorp.com\Policies\{31B2F340-016D-11D2-945F-00C04FB984F9}\Adm\desktopsearch30.adm
    Reporting(4892.4408)09:10:39 RsopTargetResults::Initialize:Added Extension
    [Registry] to extension list
    Reporting(4892.4408)09:10:39 RsopTargetResults::Initialize:Extension
    <Custom!!!> ({00000000-0000-0000-0000-000000000000}) is defined in RSOP
    Reporting(4892.4408)09:10:39 RsopTargetResults::Initialize:Extension
    <Scripts> is defined in RSOP
    Reporting(4892.4408)09:10:39 RsopTargetResults::Initialize:Added Extension
    [Scripts] to extension list
    Reporting(4892.4408)09:10:39 RsopTargetResults::Initialize:Extension
    <PublicKey/Safer> is defined in RSOP
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\EFS\Certificates\F46FEC54893CEF025A90D92CB4B19C1134F3075D is a public key setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\Trust\CTLs is a public key
    setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\ACRS\Certificates is a public
    key setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\EFS\CTLs is a public key
    setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\Root\CRLs is a public key
    setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\ACRS\CRLs is a public key
    setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\ACRS\CTLs\9ECC4D5FFAFDE817F791FD3A0F920934B3D922F3 is a public key setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\Cryptography\AutoEnrollment is a public key
    setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\EFS is a public key setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\EFS\Certificates\F46FEC54893CEF025A90D92CB4B19C1134F3075D is a public key setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\Cryptography\AutoEnrollment is a public key
    setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\ACRS\CTLs\9ECC4D5FFAFDE817F791FD3A0F920934B3D922F3 is a public key setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\Trust\Certificates is a public
    key setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\Trust\CRLs is a public key
    setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\Root\CTLs is a public key
    setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\ACRS\CTLs\CCEE320E7D928D24C736AC826CC88C84F38F7D17 is a public key setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\Root\Certificates is a public
    key setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\EFS is a public key setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\ACRS\CTLs\CCEE320E7D928D24C736AC826CC88C84F38F7D17 is a public key setting
    Reporting(4892.4408)09:10:39 ::RegValues:Key
    Software\Policies\Microsoft\SystemCertificates\EFS\CRLs is a public key
    setting
    Reporting(4892.4408)09:10:39 RsopTargetResults::Initialize:Extension
    <PublicKey> is defined in RSOP
    Reporting(4892.4408)09:10:39 PublicKeySettings::Initialize:Getting
    Autoenrollment properties
    Reporting(4892.4408)09:10:39 PublicKeySettings::Initialize:Getting EFS
    properties
    Reporting(4892.4408)09:10:39 PublicKeySettings::Initialize:Getting root
    certificate properties
    Reporting(4892.4408)09:10:39 PublicKeySettings::Initialize:Got all settings
    Reporting(4892.4408)09:10:39 CTLExt::ACRSGetTypeV1DisplayName:cert template
    path = LDAP://cn=Machine
    CNF:4b37fc2a-8db0-4a18-bbd3-64c6534b85d5,CN=Certificate Templates,CN=Public
    Key Services,CN=Services,CN=Configuration,DC=corp,DC=mycorp,DC=com
    Reporting(4892.4408)09:10:39 CTLExt::ACRSGetTypeV1DisplayName:******The
    following exception occured:
    *******Message : An invalid dn syntax has been specified.

    *******StackTrace :
    at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
    at System.DirectoryServices.DirectoryEntry.Bind()
    at System.DirectoryServices.DirectoryEntry.get_AdsObject()
    at System.DirectoryServices.PropertyValueCollection.PopulateList()
    at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry
    entry, String propertyName)
    at System.DirectoryServices.PropertyCollection.get_Item(String
    propertyName)
    at
    Microsoft.GroupPolicy.Reporting.Utilities.CTLExt.ACRSGetTypeV1DisplayName(CTL
    ctl)
    Reporting(4892.4408)09:10:39 AutomaticCertificate::.ctor:Cert type v1
    display name = Machine
    CNF:4b37fc2a-8db0-4a18-bbd3-64c6534b85d5
    Reporting(4892.4408)09:10:39 AutomaticCertificate::.ctor:Cert type v1
    display name =
    Reporting(4892.4408)09:10:39 RsopTargetResults::Initialize:Added Extension
    PKI to extension list
    Reporting(4892.4408)09:10:39 Rsop::ConvertToHtml:******The following
    exception occured:
    *******Message : Key cannot be null.
    Parameter name: key
    *******StackTrace :
    at System.Collections.SortedList.IndexOfKey(Object key)
    at System.Collections.SortedList.get_Item(Object key)
    at
    Microsoft.GroupPolicy.Reporting.Utilities.NonUniqueKeysSortedList.Add(Object
    key, Object value)
    at
    Microsoft.GroupPolicy.Reporting.Html.Settings.TablePolicySectionTemplate.SetPolicies(IEnumerable policies)
    at
    Microsoft.GroupPolicy.Reporting.Html.Settings.Windows.Security.SecurityTemplate.AddPublicKey(PublicKeySettings pkSettings)
    at
    Microsoft.GroupPolicy.Reporting.Html.Settings.Windows.Security.SecurityTemplate.AddSettings(GPOExtensionData
    securityExtension, GPOExtensionData wirelessExtension, GPOExtensionData
    ipsecExtension, GPOExtensionData saferExtension, GPOExtensionData pkExtension)
    at
    Microsoft.GroupPolicy.Reporting.Html.Settings.Windows.Security.SecurityTemplate.SetSecurity(GPOExtensionData
    securityExtension, GPOExtensionData wirelessExtension, GPOExtensionData
    ipsecExtension, GPOExtensionData saferExtension, GPOExtensionData pkExtension)
    at
    Microsoft.GroupPolicy.Reporting.Html.Settings.Windows.WindowsSettingsSectionTemplate.CreateSubsectionTemplates(ArrayList
    subsections, Hashtable nameExtensionMap)
    at
    Microsoft.GroupPolicy.Reporting.Html.Settings.Windows.WindowsSettingsSectionTemplate.SetWindowsSettings(IEnumerable extensions)
    at
    Microsoft.GroupPolicy.Reporting.Html.Settings.ConfigurationSectionTemplate.AddContent(IEnumerable extensionDataList)
    at
    Microsoft.GroupPolicy.Reporting.Html.Settings.ConfigurationSectionTemplate.SetConfiguration(RsopTargetResults targetResults)
    at
    Microsoft.GroupPolicy.Reporting.Html.Rsop.RsopReportTemplate.SetRsop(Rsop
    rsop)
    at Microsoft.GroupPolicy.Reporting.Rsop.ConvertToHtml()
     
    GeoTech, Nov 20, 2007
    #4
  5. GeoTech

    Jorge Silva Guest

    did you saw anything un-usuall in your log.

    --
    ===================================
    I hope that the information above helps you.
    Have a Nice day.

    Jorge Silva
    MCSE, MVP Directory Services
    ===================================
     
    Jorge Silva, Nov 21, 2007
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.