Getting request size exceeded configured MaxEnvelopeSize error

This topic contains 4 replies, has 3 voices, and was last updated by  GS 4 days, 22 hours ago.

  • Author
    Posts
  • #99870

    GS
    Participant

    Hello,

    My envelope size is set to 2 MB, actual MOF file is 31KB in size and yet still getting error about MaxSize exceeded, where else I can look for clues why is this failing?

    PS C:\Users\gsuvalian\AppData\Local\Temp\iis> dir
    
    
        Directory: C:\Users\gsuvalian\AppData\Local\Temp\iis
    
    
    Mode                LastWriteTime         Length Name
    ----                -------------         ------ ----
    -a----        4/27/2018   8:10 AM          31978 localhost.mof
    
    
    PS C:\Users\gsuvalian\AppData\Local\Temp\iis> get-item -path WSMan:\localhost\MaxEnvelopeSizekb
    
    
       WSManConfig: Microsoft.WSMan.Management\WSMan::localhost
    
    Type            Name                           SourceOfValue   Value
    ----            ----                           -------------   -----
    System.String   MaxEnvelopeSizekb                              2048
    
    
    PS C:\Users\gsuvalian\AppData\Local\Temp\iis> Start-DscConfiguration -ComputerName localhost -Wait -Verbose -Path .
    VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' =
    SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' =
    root/Microsoft/Windows/DesiredStateConfiguration'.
    The WinRM client sent a request to the remote WS-Management service and was notified that the request size exceeded
    the configured MaxEnvelopeSize quota.
        + CategoryInfo          : LimitsExceeded: (root/Microsoft/...gurationManager:String) [], CimException
        + FullyQualifiedErrorId : HRESULT 0x80338111
        + PSComputerName        : localhost
    
    VERBOSE: Operation 'Invoke CimMethod' complete.
    VERBOSE: Time taken for configuration job to complete is 0.155 seconds
  • #99883

    Richard Siddaway
    Moderator

    What's the setting on the remote machine

  • #99885

    GS
    Participant

    I'm executing against localhost from console.

  • #100797

    Michael Greene
    Participant

    Looks like this is unresolved? I just wanted to check in.

  • #100798

    GS
    Participant

    It was resolved by upgrading version of Powershell.

You must be logged in to reply to this topic.