Skip to content

Invoking RestMethod PUT (405) Method Not Allowed #70

@J-Hoff389

Description

@J-Hoff389

If the Client Entry does not exist in the Table, there is no error and the entry is created.

Setting last ran to 06/22/2021 12:30:54
Updating local logfile with results
Updating fileshare logfile with results
Updating SQL database with results using webservice
Error Invoking RestMethod PUT on URI https://<redacted>/ConfigMgrClientHealth/Clients/<redacted>. Failed to update database using webservice. Exception: The remote server returned an error: (405) Method Not Allowed.

I enabled Failed Request Tracing and noticed:

GENERAL_RESPONSE_HEADERS
Headers="Allow: GET, HEAD, OPTIONS, TRACE
Content-Type: text/html
Server: Microsoft-IIS/10.0
X-Powered-By: ASP.NET
"

MODULE_WARNING
ModuleName="WebDAVModule", Data1="WebDAV Disabled", Data2="", ErrorCode="The operation completed successfully.
 (0x0)"

MODULE_SET_RESPONSE_ERROR_STATUS 
ModuleName="WebDAVModule", Notification="MAP_REQUEST_HANDLER", HttpStatus="405", HttpReason="Method Not Allowed", HttpSubStatus="0", ErrorCode="The operation completed successfully.
 (0x0)", ConfigExceptionInfo=""

Notes

  • Script version 0.8.3
  • Webservice version 2.0.1
  • ASP.NET Core Runtime 5.0.7 (hosting bundle)
  • .NET Framework version 4.8.03761

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