HTTP Error 405.0 - Method Not Allowed
Quickly resolve the HTTP Error 405.0 - Method Not Allowed in the Nodinite Web Client and Web API. This guide explains why the error occurs and provides actionable steps to fix it, so that editing and deleting resources works again.
- Step-by-step solution for 405 errors in the Web Client and Web API.
- Remove WebDAV conflicts in IIS for reliable updates and deletes.
- Diagnose and fix verb restrictions in Request Filtering.
- Visual examples and configuration tips for fast troubleshooting.
What is HTTP Error 405?
HTTP Error 405.0 - Method Not Allowed occurs when a web server receives a valid HTTP request but the HTTP verb (method) used is not permitted for the requested resource. For example:
- Attempting to PUT or DELETE when only GET and POST are allowed
- Sending a POST request to a resource that only accepts GET
- Using PATCH when the endpoint doesn't support it
In the Nodinite Web Client and Web API, 405 errors typically occur when:
- Editing resources (PUT requests) - Updating Monitor Views, Alarm Plugins, or other configuration
- Deleting resources (DELETE requests) - Removing entities from the system
- Creating resources (POST requests) - Adding new configurations
Common HTTP Verbs in Nodinite
| HTTP Verb | Purpose | Example in Nodinite |
|---|---|---|
| GET | Retrieve data | Loading Monitor Views, reading Log Events |
| POST | Create new resource | Adding new Alarm Plugin, creating Monitor View |
| PUT | Update existing resource | Editing Monitor View configuration |
| DELETE | Remove resource | Deleting an Alarm Plugin entry |
| PATCH | Partial update | Updating specific fields in a configuration |
How WebDAV Causes the 405
On Windows Server, each Nodinite Core Service is its own IIS web site, hosted by the ASP.NET Core Module V2 from the .NET 10 Hosting Bundle. IIS runs its own modules first. When the WebDAV module is installed, it claims PUT and DELETE requests before they reach Nodinite, and answers 405.
Diagram: a PUT or DELETE from the Web Client passes Request Filtering (yellow) and is stopped by the WebDAV module (red) unless WebDAV is removed; then the ASP.NET Core Module V2 hands it to the Web API (green). See IIS Windows Features for the WebDAV recommendation.
Diagnosing the Issue
Before applying fixes, identify the root cause of the 405 error.
Step 1: Identify the HTTP Verb
Check which HTTP verb is being blocked. In the browser developer tools (F12):
- Open Network tab
- Reproduce the error (e.g., click Save on an edited resource)
- Look for the failed request (usually red)
- Check the Method column - is it PUT, DELETE, POST, or PATCH?
- Click the request and view Headers → Response Headers for more details
Step 2: Check IIS Failed Request Logs
If detailed error information is not visible in the browser:
- Open IIS Manager
- Navigate to the Nodinite Web API site
- Enable Failed Request Tracing (if not already enabled)
- Reproduce the 405 error
- Review the trace logs at
C:\inetpub\logs\FailedReqLogFiles\
Look for error details like:
ModuleName: WebDAVModule
Notification: EXECUTE_REQUEST_HANDLER
HttpStatus: 405
HttpReason: Method Not Allowed
HttpSubStatus: 0
Step 3: Review Windows Event Viewer
Check for IIS-related errors:
- Open Event Viewer (Windows key + R →
eventvwr.msc) - Navigate to Windows Logs → Application
- Filter for Source: IIS or Source: IIS AspNetCore Module V2
- Look for warnings or errors matching your timestamp
Information
Most Common Cause: WebDAV Interference
If WebDAV is installed and you receive a 405 error when editing (Update/Delete) resources in the Web API or Web Client, follow the solution below. Apply the fix to each Nodinite web site in IIS, or remove WebDAV from the server when no other application needs it.
Affected Components
Tip
Quick Fix: In 90% of cases, removing WebDAV from IIS Modules and Handler Mappings resolves 405 errors in Nodinite. See Solution 1: Remove WebDAV below.
Example Error Message in the Web Client

Example: Unknown error message in the Web Client when 405 occurs.
Full Error Message

Example: Full error message from WebDAV module in IIS.
Solutions
Solution 1: Remove WebDAV (Most Common)
Why this fixes 405 errors: WebDAV (Web Distributed Authoring and Versioning) is an IIS module that intercepts PUT, DELETE, and other HTTP verbs to provide file-system-like operations over HTTP. When enabled, it blocks these verbs from reaching the Nodinite application, causing 405 errors. On a dedicated Nodinite server, remove the WebDAV feature completely with the script in WebDAV Recommendation for Nodinite 7.
Step-by-Step: Remove WebDAV from IIS
Remove WebDAV from Modules and from Handler Mappings in IIS when you can't remove the feature from the server.

Example: IIS Home screen for module and handler management.
Remove from Modules

Example: Removing WebDAV from IIS Modules.
- Open IIS Manager
- Select the Nodinite Web Client or Web API site
- Double-click Modules
- Locate WebDAVModule in the list
- Right-click → Remove
- Click Yes to confirm
Remove from Handler Mappings

Example: Removing WebDAV from IIS Handler Mappings.
- In IIS Manager, navigate to the same site
- Double-click Handler Mappings
- Locate WebDAV in the list
- Right-click → Remove
- Click Yes to confirm
Note
Restart IIS or recycle the Application Pool after this operation.
# Recycle all application pools and restart IIS
iisreset
Verify web.config Exclusions
The web.config of the Web API and Web Client sites should remove the WebDAV module and handler:
<system.webServer>
<modules>
<remove name="WebDAVModule" />
</modules>
<handlers>
<remove name="WebDAV" />
</handlers>
</system.webServer>
Note
The system.webServer example is partial. Your web.config contains additional sections, such as the
aspNetCorehandler; don't remove them.
Solution 2: Check Request Filtering
If removing WebDAV doesn't resolve the issue, check IIS Request Filtering settings.
Step 1: Review HTTP Verbs in Request Filtering
Open IIS Manager
Select the Nodinite site
Double-click Request Filtering
Click HTTP Verbs tab
Ensure the following verbs are allowed (not explicitly denied):
- GET
- POST
- PUT
- DELETE
- PATCH
- OPTIONS
Step 2: Verify web.config Request Filtering
Your web.config should not include overly restrictive verb filtering:
<system.webServer>
<security>
<requestFiltering>
<!-- Ensure verbs are not explicitly denied -->
<verbs allowUnlisted="true">
<!-- No <remove> or <add verb="..." allowed="false" /> for PUT, DELETE, PATCH -->
</verbs>
</requestFiltering>
</security>
</system.webServer>
Tip
Set
allowUnlisted="true"to permit all HTTP verbs by default, then only deny specific verbs if absolutely necessary for security.
Solution 3: Application Pool Configuration
Ensure the Application Pool of each Nodinite site matches what the CLI created:
Open IIS Manager
Click Application Pools in the left pane
Locate the App Pool of the Nodinite site
Right-click → Advanced Settings
Verify:
- .NET CLR Version: No Managed Code (the .NET 10 Hosting Bundle hosts the site)
- Managed Pipeline Mode: Integrated
- Identity: the service account set in the Portal, see IIS Authentication settings
After making changes, right-click the Application Pool and select Recycle.
Solution 4: CORS and Preflight Requests
If 405 errors occur with OPTIONS requests (CORS preflight), configure CORS in web.config:
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="https://nodinite.contoso.com" />
<add name="Access-Control-Allow-Methods" value="GET,POST,PUT,DELETE,PATCH,OPTIONS" />
<add name="Access-Control-Allow-Headers" value="Content-Type,Authorization" />
</customHeaders>
</httpProtocol>
</system.webServer>
Warning
Never use
Access-Control-Allow-Origin: *in production; it allows requests from any domain. Specify the exact origins, as in the example above.
Troubleshooting Checklist
Before contacting support, verify:
- ✅ WebDAV removed from the server, or from IIS Modules and Handler Mappings
- ✅ Application Pool recycled after configuration changes
- ✅ web.config includes WebDAV exclusions (
<remove name="WebDAVModule" />) - ✅ Request Filtering allows PUT, DELETE, PATCH verbs
- ✅ Application Pool uses No Managed Code in Integrated mode
- ✅ No antivirus/firewall blocking HTTP verbs
- ✅ Failed Request Tracing enabled for detailed diagnostics
Testing Your Fix
After applying solutions, test with PowerShell. Replace nodinite.contoso.com:<port> with the host and port of your environment's Web API; the port is set per environment in the Nodinite Portal (Step 4: Servers → Core platform services). Find the available operations in Scalar at https://nodinite.contoso.com:<port>/scalar or in Swagger at /swagger, and pick a PUT and a DELETE operation on a test item you can safely change.
First, check that the Web API site answers: https://nodinite.contoso.com:<port>/isalive returns true.
Test PUT Request
# Replace with your Nodinite Web API host and port
$uri = "https://nodinite.contoso.com:<port>/api/<resource>/<test-id>" # a PUT operation from Scalar
$body = @{ Name = "Test" }|ConvertTo-Json # use the body that the operation in Scalar expects
$headers = @{ "Content-Type" = "application/json" }
Invoke-RestMethod -Uri $uri -Method PUT -Body $body -Headers $headers -UseDefaultCredentials
Test DELETE Request
$uri = "https://nodinite.contoso.com:<port>/api/<resource>/<test-id>" # a DELETE operation on a test item
Invoke-RestMethod -Uri $uri -Method DELETE -UseDefaultCredentials
Expected: HTTP 200 OK (or 204 No Content for DELETE)
Error: HTTP 405 indicates the issue persists
Security Considerations
After enabling PUT/DELETE verbs:
- Keep authentication on - The Web API requires Windows Authentication or an OAuth 2.0 bearer token, see Managing the Web API
- Use HTTPS - Encrypt all traffic, see How to perform hardening on your Nodinite installation
- Restrict IP addresses - Use IIS IP Address and Domain Restrictions to limit access
- Audit changes - Review changes in Log Audits
Example web.config security configuration:
<system.webServer>
<security>
<requestFiltering>
<!-- Block potentially dangerous verbs if not needed -->
<verbs allowUnlisted="true">
<add verb="TRACE" allowed="false" />
<add verb="TRACK" allowed="false" />
</verbs>
</requestFiltering>
</security>
</system.webServer>
Still Getting 405 Errors?
If none of the above solutions work:
- Check Antivirus/Firewall - Some security software blocks PUT/DELETE requests
- Review Reverse Proxy - If using a reverse proxy (nginx, HAProxy), verify it forwards all HTTP verbs
- Check Load Balancer - Azure Application Gateway or F5 may filter verbs
- IIS Rewrite Rules - Custom URL rewrite rules may interfere with verbs, see IIS URL Rewrite – Legacy v6 Redirect
Contact Nodinite Support with:
- Failed Request Trace logs
- web.config file (sanitize sensitive data)
- IIS Module and Handler Mapping screenshots
- Browser Network tab HAR export (F12 → Network → Right-click → Save as HAR)