-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to configure IIS using PowerShell DSC Resource xWebAdministration v3.20 #596
Labels
needs more information
The issue needs more information from the author or the community.
Comments
Can you please provide what error message you are seeing, also please provide the verbose message output from the node that is failing. |
johlju
added
the
needs more information
The issue needs more information from the author or the community.
label
May 20, 2021
Hello Johan,
Please find the verbose output from both DSC scripts.
Best regards, Anand
From: Johan Ljunggren ***@***.***>
Sent: Thursday, May 20, 2021 11:02 PM
To: dsccommunity/xWebAdministration ***@***.***>
Cc: Franklin ***@***.***>; Author ***@***.***>
Subject: Re: [dsccommunity/xWebAdministration] Unable to configure IIS using PowerShell DSC Resource xWebAdministration v3.20 (#596)
Can you please provide what error message you are seeing, also please provide the verbose message output from the node that is failing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#596 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ATRLZ52EWU2F7EP6T3TLFYTTOVBQHANCNFSM45G7GA7A>.
PS C:\Scripts> Start-DscConfiguration -ComputerName web-svr-01,web-svr-02 -Path C:\Scripts\IISConfig1\ -Wait -Verbose -
Force
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' =
SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' =
root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' =
SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' =
root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer dsc-svr-02 with user sid
S-1-5-21-2388840823-2800283628-1435190153-1113.
VERBOSE: [web-svr-02]: LCM: [ Start Set ]
VERBOSE: An LCM method call arrived from computer dsc-svr-02 with user sid
S-1-5-21-2388840823-2800283628-1435190153-1113.
VERBOSE: [web-svr-01]: LCM: [ Start Set ]
VERBOSE: [web-svr-02]: LCM: [ Start Resource ] [[xWebSite]Law RMS]
VERBOSE: [web-svr-02]: LCM: [ Start Test ] [[xWebSite]Law RMS]
VERBOSE: [web-svr-02]: [[xWebSite]Law RMS] The Ensure state for website "Law RMS" does not
match the desired state.
VERBOSE: [web-svr-02]: [[xWebSite]Law RMS] The target resource is not in the desired state.
VERBOSE: [web-svr-02]: LCM: [ End Test ] [[xWebSite]Law RMS] in 0.2030 seconds.
VERBOSE: [web-svr-02]: LCM: [ Start Set ] [[xWebSite]Law RMS]
VERBOSE: [web-svr-01]: LCM: [ Start Resource ] [[xWebSite]Law RMS]
VERBOSE: [web-svr-01]: LCM: [ Start Test ] [[xWebSite]Law RMS]
VERBOSE: [web-svr-02]: [[xWebSite]Law RMS] Performing the operation "Set Item" on target
"Item: ConfirmPreference Value: High".
VERBOSE: [web-svr-01]: [[xWebSite]Law RMS] The Ensure state for website "Law RMS" does not
match the desired state.
VERBOSE: [web-svr-01]: [[xWebSite]Law RMS] The target resource is not in the desired state.
VERBOSE: [web-svr-01]: LCM: [ End Test ] [[xWebSite]Law RMS] in 0.2350 seconds.
VERBOSE: [web-svr-01]: LCM: [ Start Set ] [[xWebSite]Law RMS]
VERBOSE: [web-svr-01]: [[xWebSite]Law RMS] Performing the operation "Set Item" on target
"Item: ConfirmPreference Value: High".
VERBOSE: [web-svr-02]: [[xWebSite]Law RMS] Performing the operation "Set Item" on target
"Item: ConfirmPreference Value: High".
VERBOSE: [web-svr-01]: [[xWebSite]Law RMS] Performing the operation "Set Item" on target
"Item: ConfirmPreference Value: High".
VERBOSE: [web-svr-02]: [[xWebSite]Law RMS] Successfully created website "Law RMS".
VERBOSE: [web-svr-02]: LCM: [ End Set ] [[xWebSite]Law RMS] in 1.5040 seconds.
PowerShell DSC resource MSFT_xWebSite failed to execute Set-TargetResource functionality with error message: The
running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop:
The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : ProviderOperationExecutionFailure
+ PSComputerName : web-svr-02
VERBOSE: [web-svr-02]: LCM: [ End Set ]
The SendConfigurationApply function did not succeed.
+ CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : MI RESULT 1
+ PSComputerName : web-svr-02
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: [web-svr-01]: [[xWebSite]Law RMS] Successfully created website "Law RMS".
VERBOSE: [web-svr-01]: LCM: [ End Set ] [[xWebSite]Law RMS] in 1.5110 seconds.
PowerShell DSC resource MSFT_xWebSite failed to execute Set-TargetResource functionality with error message: The
running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop:
The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : ProviderOperationExecutionFailure
+ PSComputerName : web-svr-01
VERBOSE: [web-svr-01]: LCM: [ End Set ]
The SendConfigurationApply function did not succeed.
+ CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : MI RESULT 1
+ PSComputerName : web-svr-01
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 2.682 seconds
PS C:\Scripts> Start-DscConfiguration -ComputerName web-svr-01,web-svr-02 -Path C:\Scripts\IISConfig\ -Wait -Verbose -Fo
rce
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' =
SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' =
root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' =
SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' =
root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer dsc-svr-02 with user sid
S-1-5-21-2388840823-2800283628-1435190153-1113.
VERBOSE: [web-svr-02]: LCM: [ Start Set ]
VERBOSE: An LCM method call arrived from computer dsc-svr-02 with user sid
S-1-5-21-2388840823-2800283628-1435190153-1113.
VERBOSE: [web-svr-02]: LCM: [ Start Resource ] [[xWebSite]Default Web Site]
VERBOSE: [web-svr-02]: LCM: [ Start Test ] [[xWebSite]Default Web Site]
VERBOSE: [web-svr-01]: LCM: [ Start Set ]
VERBOSE: [web-svr-02]: [[xWebSite]Default Web Site] The target resource is already in the
desired state. No action is required.
VERBOSE: [web-svr-02]: LCM: [ End Test ] [[xWebSite]Default Web Site] in 0.2660 seconds.
VERBOSE: [web-svr-02]: LCM: [ Skip Set ] [[xWebSite]Default Web Site]
VERBOSE: [web-svr-02]: LCM: [ End Resource ] [[xWebSite]Default Web Site]
VERBOSE: [web-svr-02]: LCM: [ End Set ]
VERBOSE: [web-svr-02]: LCM: [ End Set ] in 0.3440 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: [web-svr-01]: LCM: [ Start Resource ] [[xWebSite]Default Web Site]
VERBOSE: [web-svr-01]: LCM: [ Start Test ] [[xWebSite]Default Web Site]
VERBOSE: [web-svr-01]: [[xWebSite]Default Web Site] Physical Path of website "Default Web
Site" does not match the desired state.
VERBOSE: [web-svr-01]: [[xWebSite]Default Web Site] Bindings for website "Default Web Site"
do not match the desired state.
VERBOSE: [web-svr-01]: [[xWebSite]Default Web Site] The target resource is not in the
desired state.
VERBOSE: [web-svr-01]: LCM: [ End Test ] [[xWebSite]Default Web Site] in 3.7970 seconds.
VERBOSE: [web-svr-01]: LCM: [ Start Set ] [[xWebSite]Default Web Site]
VERBOSE: [web-svr-01]: [[xWebSite]Default Web Site] Physical Path for website "Default Web
Site" has been updated to "C:\Program Files\ProPhoenix".
VERBOSE: [web-svr-01]: [[xWebSite]Default Web Site] Bindings for website "Default Web Site"
have been updated.
VERBOSE: [web-svr-01]: LCM: [ End Set ] [[xWebSite]Default Web Site] in 1.4520 seconds.
VERBOSE: [web-svr-01]: LCM: [ End Resource ] [[xWebSite]Default Web Site]
VERBOSE: [web-svr-01]: LCM: [ End Set ]
VERBOSE: [web-svr-01]: LCM: [ End Set ] in 6.1710 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 6.362 seconds
PS C:\Scripts>
|
The below is from one of the web servers after running the second DSC Script.
***@***.***D74E67.50D31DD0]
From: Franklin
Sent: Friday, May 21, 2021 1:35 PM
To: dsccommunity/xWebAdministration ***@***.***>; dsccommunity/xWebAdministration ***@***.***>
Cc: Author ***@***.***>
Subject: RE: [dsccommunity/xWebAdministration] Unable to configure IIS using PowerShell DSC Resource xWebAdministration v3.20 (#596)
Hello Johan,
Please find the verbose output from both DSC scripts.
Best regards, Anand
From: Johan Ljunggren ***@***.******@***.***>>
Sent: Thursday, May 20, 2021 11:02 PM
To: dsccommunity/xWebAdministration ***@***.******@***.***>>
Cc: Franklin ***@***.******@***.***>>; Author ***@***.******@***.***>>
Subject: Re: [dsccommunity/xWebAdministration] Unable to configure IIS using PowerShell DSC Resource xWebAdministration v3.20 (#596)
Can you please provide what error message you are seeing, also please provide the verbose message output from the node that is failing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#596 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ATRLZ52EWU2F7EP6T3TLFYTTOVBQHANCNFSM45G7GA7A>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please assist. Thank you. Anand.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The text was updated successfully, but these errors were encountered: