locked
Error Message: The partial configuration name "XXXX"present in the configuration document is invalid. Define a partial configuration inside the metaconfiguration with this partial configuration name in order to use it. RRS feed

  • Question

  • Hi All,

    Am tried to configure the partial configuration in a target node server. Am tried to multiple partial config for using the configuration name. Please refer the below script for partial configuration.

    [DSCLocalConfigurationManager()]
    configuration PullClientConfig
    {
        Node nodename
        {
            Settings
            {

                RefreshFrequencyMins            = 30;
                RefreshMode                     = "PULL";
                ConfigurationMode               ="ApplyAndAutocorrect";
                AllowModuleOverwrite            = $true;
                RebootNodeIfNeeded              = $true;
                ConfigurationModeFrequencyMins  = 60;
            }

            ConfigurationRepositoryWeb node1-PullServer
            {
                ServerURL = 'http://pullserver:8080/PSDSCPullServer.svc'
                RegistrationKey = 'ddf9d768-cef7-48ac-8965-81726d87f1ca'
                ConfigurationNames = @("YYY","XXX")
                AllowUnsecureConnection = $true
            }

            ReportServerWeb node1-RptServer
            {
                ServerURL = 'http://pullserver:8080/PSDSCPullServer.svc'
                RegistrationKey = "ddf9d768-cef7-48ac-8965-81726d87f1ca"
                AllowUnsecureConnection = $true
            }

            PartialConfiguration YYY
            {
                Description = "YYY"
                ConfigurationSource = @("[ConfigurationRepositoryWeb]node1-PullServer")

            }

            PartialConfiguration XXX
            {
                Description = "XXX"
                ConfigurationSource = @("[ConfigurationRepositoryWeb]node1-PullServer")
            }
        }
    }
    PullClientConfig

    After that create a MOF and apply the "Set-DscLocalConfigurationManager" configuration for PULL mode. After 15 mins we get the below error in Event-log.

    Error Message: The partial configuration name XXX present in the configuration document is invalid. Define a partial configuration inside the metaconfiguration with this partial configuration name in order to use it.

    Thanks in advance!

    Thanks & Regards

    Sudalai

    • Moved by Just Karl Monday, August 14, 2017 4:58 PM Looking for the correct forum
    Monday, July 24, 2017 10:00 AM

All replies