This repository contains scripts, code and samples for automating the install and configuration of ArcGIS (Enterprise and Desktop) using Microsoft Windows PowerShell DSC (Desired State Configuration).
Apache License 2.0
113
stars
61
forks
source link
Invalid MOF definition for node error when installing 11.3 #545
Should have completed the install and configuration
Actual Behavior
Dot Sourcing the Configuration:- ArcGISPortal
VERBOSE: For MSA we assume these steps have been done independent of the module.
Write-NodeMOFFile : Invalid MOF definition for node 'pvw-gis.umzinyathi.gov.za': Exception calling "ValidateInstanceText" with "1" argument(s): "Undefined property EnableCreateSiteDebug
At line:117, char:2
Buffer:
e = "ArcGISPortal";
};^
insta
"
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1:2369 char:21
+ ... Write-NodeMOFFile $Name $mofNode $Script:NodeInstanceAlia ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Write-Error], InvalidOperationException
+ FullyQualifiedErrorId : InvalidMOFDefinition,Write-NodeMOFFile
Compilation errors occurred while processing configuration 'ArcGISPortal'. Please review the errors reported in error stream and modify your configuration code appropriately.
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1:3917 char:5
+ throw $ErrorRecord
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (ArcGISPortal:String) [], InvalidOperationException
+ FullyQualifiedErrorId : FailToProcessConfiguration
Steps to Reproduce
Created a configuration file and ran the command to install license and configure.
The machine that is being deployed is remote to the machine that is running the script.
Older versions of the module were causing the issues. Even though I has run an uninstall things were left behind. Had to manually delete the older folders in the Module directory.
Community Note
Module Version
Affected Resource(s)
Configuration Files
Expected Behavior
Should have completed the install and configuration
Actual Behavior
Steps to Reproduce
Created a configuration file and ran the command to install license and configure. The machine that is being deployed is remote to the machine that is running the script.
Important Factoids
References