Skip to content
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

Cannot find an appropriate constructor #1

Open
Pushpendra-blr opened this issue Oct 24, 2019 · 2 comments
Open

Cannot find an appropriate constructor #1

Pushpendra-blr opened this issue Oct 24, 2019 · 2 comments

Comments

@Pushpendra-blr
Copy link

On WSUS 2016 server, i am getting following error -

.\Start-WsusUpdateMgr.ps1
VERBOSE: Checking Administrator credentials
VERBOSE: Checking for STA
New-Object : A constructor was not found. Cannot find an appropriate constructor for type System.Xml.XmlNodeReader.
At C:\WSUS\WsusUpdateMgr-master\UI\Wsus-UpdateManager.UI.ps1:16 char:14

  • $Reader= New-Object System.Xml.XmlNodeReader $global:XAMLMain
    
  •          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (:) [New-Object], PSArgumentException
    • FullyQualifiedErrorId : CannotFindAppropriateCtor,Microsoft.PowerShell.Commands.NewObjectCommand
@red-erik
Copy link

Same on Windows 10 with RSAT
Regards,

Red.

@aSysadminStory
Copy link

Works on Windows 10 (right-click run > run with powershell).
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants