Skip to content

Cannot find an appropriate constructor #1

@Pushpendra-blr

Description

@Pushpendra-blr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions