---
title: Fix HTTP Error 405.0 - Method Not Allowed in Nodinite Web Client & Web API (WebDAV)
description: Resolve HTTP Error 405.0 - Method Not Allowed in the Nodinite v7 Web Client and Web API by removing WebDAV from IIS modules and handler mappings, checking Request Filtering, and verifying the App Pool. Step-by-step troubleshooting guide.
---

# <i class="fal fa-globe" aria-hidden="true"></i> HTTP Error 405.0 - Method Not Allowed

Quickly resolve the HTTP Error 405.0 - Method Not Allowed in the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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.

* <i class="fal fa-list-check" aria-hidden="true"></i> Step-by-step solution for 405 errors in the Web Client and Web API.
* <i class="fal fa-wrench" aria-hidden="true"></i> Remove WebDAV conflicts in [IIS][IIS Authentication settings] for reliable updates and deletes.
* <i class="fal fa-filter" aria-hidden="true"></i> Diagnose and fix verb restrictions in Request Filtering.
* <i class="fal fa-image" aria-hidden="true"></i> Visual examples and configuration tips for fast troubleshooting.

## <i class="fal fa-circle-info" aria-hidden="true"></i> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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][Log Event]|  
|**POST**|Create new resource|Adding new [Alarm Plugin][Alarm Plugins], creating [Monitor View][Monitor Views]|  
|**PUT**|Update existing resource|Editing [Monitor View][Monitor Views] configuration|  
|**DELETE**|Remove resource|Deleting an [Alarm Plugin][Alarm Plugins] entry|  
|**PATCH**|Partial update|Updating specific fields in a configuration|  

### How WebDAV Causes the 405

On Windows Server, each <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Core Service][Core Services] 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, and answers 405.

<div class="mermaid">
flowchart LR
    Browser["fa:fa-user Web Client in the browser"]
    subgraph IIS["Web API site in IIS"]
        Filter["fa:fa-filter Request Filtering"]
        DAV["fa:fa-ban WebDAV module"]
        Core["fa:fa-gears ASP.NET Core Module V2"]
    end
    App["fa:fa-cloud Nodinite Web API"]
    Browser -->|"PUT or DELETE"| Filter
    Filter -->|"Verb allowed"| DAV
    DAV -->|"WebDAV installed: 405"| Browser
    DAV -.->|"WebDAV removed"| Core
    Core -->|"200 OK"| App
    style Browser fill:#2678BD
    style Filter fill:#FFD525
    style DAV fill:#c33d34
    style Core fill:#93d16d
    style App fill:#93d16d
</div>

*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.*

## <i class="fal fa-stethoscope" aria-hidden="true"></i> 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):

1. Open **Network** tab
2. Reproduce the error (e.g., click Save on an edited resource)
3. Look for the failed request (usually red)
4. Check the **Method** column - is it PUT, DELETE, POST, or PATCH?
5. 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:

1. Open **IIS Manager**
2. Navigate to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Web API site
3. Enable **Failed Request Tracing** (if not already enabled)
4. Reproduce the 405 error
5. Review the trace logs at `C:\inetpub\logs\FailedReqLogFiles\`

Look for error details like:

```text
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:

1. Open **Event Viewer** (Windows key + R → `eventvwr.msc`)
2. Navigate to **Windows Logs** → **Application**
3. Filter for **Source: IIS** or **Source: IIS AspNetCore Module V2**
4. Look for warnings or errors matching your timestamp

## <i class="fal fa-circle-info" aria-hidden="true"></i> Information

### Most Common Cause: WebDAV Interference

If [WebDAV](https://en.wikipedia.org/wiki/WebDAV)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> web site in IIS, or remove WebDAV from the server when no other application needs it.

#### Affected Components

* [Web Client][]
* [Web API][]

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p><strong>Quick Fix:</strong> In 90% of cases, removing WebDAV from IIS Modules and Handler Mappings resolves 405 errors in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>. See <a href="#solution-1-remove-webdav-most-common">Solution 1: Remove WebDAV</a> below.</p></div>
</aside>

### Example Error Message in the Web Client

![Unknown error in Web Client][1]  
*Example: Unknown error message in the Web Client when 405 occurs.*  

### Full Error Message

![WebDAV Module Method Not Allowed error][2]  
*Example: Full error message from WebDAV module in IIS.*  

## <i class="fal fa-wrench" aria-hidden="true"></i> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> application, causing 405 errors. On a dedicated <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> server, remove the WebDAV feature completely with the script in [WebDAV Recommendation for Nodinite 7][WebDAV Recommendation].

#### 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.  
![IIS Home screen][3]  
*Example: IIS Home screen for module and handler management.*  

#### Remove from Modules

![Remove WebDAV from Modules][4]  
*Example: Removing WebDAV from IIS Modules.*  

1. Open **IIS Manager**
2. Select the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Web Client or Web API site
3. Double-click **Modules**
4. Locate **WebDAVModule** in the list
5. Right-click → **Remove**
6. Click **Yes** to confirm

#### Remove from Handler Mappings

![Remove WebDAV from Handler Mappings][5]  
*Example: Removing WebDAV from IIS Handler Mappings.*  

1. In **IIS Manager**, navigate to the same site
2. Double-click **Handler Mappings**
3. Locate **WebDAV** in the list
4. Right-click → **Remove**
5. Click **Yes** to confirm

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>Restart IIS or recycle the Application Pool after this operation.</p></div>
</aside>

```powershell
# 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:

```xml
<system.webServer>
  <modules>
    <remove name="WebDAVModule" />
  </modules>
  <handlers>
    <remove name="WebDAV" />
  </handlers>
</system.webServer>
```

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>The system.webServer example is partial. Your web.config contains additional sections, such as the <code>aspNetCore</code> handler; don't remove them.</p></div>
</aside>

### 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

1. Open **IIS Manager**
2. Select the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> site
3. Double-click **Request Filtering**
4. Click **HTTP Verbs** tab
5. 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:

```xml
<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>
```

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>Set <code>allowUnlisted="true"</code> to permit all HTTP verbs by default, then only deny specific verbs if absolutely necessary for security.</p></div>
</aside>

### Solution 3: Application Pool Configuration

Ensure the Application Pool of each <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> site matches what the CLI created:

1. Open **IIS Manager**
2. Click **Application Pools** in the left pane
3. Locate the App Pool of the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> site
4. Right-click → **Advanced Settings**
5. 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:

```xml
<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>
```

<aside aria-label="Warning" class="nodinite-note nodinite-note--warning">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-triangle-exclamation"></i> Warning</p>
<div class="nodinite-note__content"><p>Never use <code>Access-Control-Allow-Origin: *</code> in production; it allows requests from any domain. Specify the exact origins, as in the example above.</p></div>
</aside>

## <i class="fal fa-list-check" aria-hidden="true"></i> 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  

## <i class="fal fa-vial" aria-hidden="true"></i> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Portal ([Step 4: Servers → Core platform services][Servers step]). 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

```powershell
# 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

```powershell
$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

## <i class="fal fa-shield-halved" aria-hidden="true"></i> Security Considerations

After enabling PUT/DELETE verbs:

1. **Keep authentication on** - The Web API requires Windows Authentication or an OAuth 2.0 bearer token, see [Managing the Web API][]
2. **Use HTTPS** - Encrypt all traffic, see [How to perform hardening on your Nodinite installation][Hardening]
3. **Restrict IP addresses** - Use IIS IP Address and Domain Restrictions to limit access
4. **Audit changes** - Review changes in [Log Audits][]

Example web.config security configuration:

```xml
<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>
```

## <i class="fal fa-circle-question" aria-hidden="true"></i> Still Getting 405 Errors?

If none of the above solutions work:

1. **Check Antivirus/[Firewall][]** - Some security software blocks PUT/DELETE requests
2. **Review Reverse Proxy** - If using a reverse proxy (nginx, HAProxy), verify it forwards all HTTP verbs
3. **Check Load Balancer** - Azure Application Gateway or F5 may filter verbs
4. **IIS Rewrite Rules** - Custom URL rewrite rules may interfere with verbs, see [IIS URL Rewrite – Legacy v6 Redirect][IIS URL Rewrite]

Contact [Nodinite Support](https://support.nodinite.com)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> 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)

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-server" aria-hidden="true"></i> [IIS Troubleshooting Overview][IIS Overview]  
* <i class="fal fa-lock" aria-hidden="true"></i> [IIS Windows Features][]  
* <i class="fal fa-shield-check" aria-hidden="true"></i> [IIS Authentication settings][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-globe" aria-hidden="true"></i> [Web Client][]  
* <i class="fal fa-cloud-sun" aria-hidden="true"></i> [Web API][]  
* <i class="fal fa-rocket" aria-hidden="true"></i> [Install Nodinite v7][]  
* <i class="fal fa-rotate" aria-hidden="true"></i> [IIS URL Rewrite – Legacy v6 Redirect][IIS URL Rewrite]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Common/IIS/405/WebClientUnknownError.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Common/IIS/405/WebDAVModuleMethodNotAllowed.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Common/IIS/405/IISHome.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Common/IIS/405/ModuleWebDAVRemove.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Common/IIS/405/HandlerWebDAVRemove.png

[Alarm Plugins]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/what-is-an-alarm-plugin/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Firewall]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/firewall/
[Hardening]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/how-to-perform-hardening-on-your-nodinite-installation/
[IIS Authentication settings]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-authentication-settings/
[IIS Overview]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/overview/
[IIS URL Rewrite]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-url-rewrite-legacy-v6-redirect/
[IIS Windows Features]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-windows-features/
[Install Nodinite v7]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7/
[Log Audits]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Managing the Web API]:https://docs.nodinite.com/core-services/web-api/features/managing-the-web-api/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Servers step]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web Client]:https://docs.nodinite.com/core-services/web-client/overview/
[WebDAV Recommendation]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-windows-features/#webdav-recommendation-for-nodinite-7