WebJEA icon indicating copy to clipboard operation
WebJEA copied to clipboard

DSC Error or ?

Open nekkko88 opened this issue 6 years ago • 2 comments

Can someone check this error please .. I dont saw from where this error is comming from ... Regards

PS C:\webjea> .\DSCDeploy.ps1
Configuring Package Provider

Name                           Version          Source           Summary
----                           -------          ------           -------
nuget                          2.8.5.208        https://onege... NuGet provider for the OneGet meta-package manager
Trusting PSGallery
Installing DSC Modules
Building Configuration
Test-ConflictingResources : A conflict was detected between resources '[XMLConfigFile]CustomErrors
(C:\webjea\DSCConfig.inc.ps1::216::13::XMLConfigFile)' and '[XMLConfigFile]CustomErrorsRedirect
(C:\webjea\DSCConfig.inc.ps1::225::13::XMLConfigFile)' in node 'MGMT1'. Resources have identical key properties but
there are differences in the following non-key properties: 'Ensure;Value;Name'. Values 'Present;RemoteOnly;mode' don't
match values 'Absent;error.aspx;defaultRedirect'. Please update these property values so that they are identical in
both cases.
At line:289 char:9
+         Test-ConflictingResources $keywordName $canonicalizedValue $k ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Write-Error], InvalidOperationException
    + FullyQualifiedErrorId : ConflictingDuplicateResource,Test-ConflictingResources
Compilation errors occurred while processing configuration 'WebJEADeployment'. 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: (WebJEADeployment:String) [], InvalidOperationException
    + FullyQualifiedErrorId : FailToProcessConfiguration

nekkko88 avatar Sep 24 '18 12:09 nekkko88

Have you downloaded the latest release? There was a change to one of the DSC resources that breaks the old configuration. You can download the latest release here.

markdomansky avatar Sep 30 '18 14:09 markdomansky

Thank you, i will try that... ..Update will follow

nekkko88 avatar Oct 01 '18 08:10 nekkko88

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 20 '22 21:09 stale[bot]