Skip to content

405 Error When Saving Content Items on IIS Due to WebDAV Module Interference - Missing documentation #6860

Closed
@eb-88

Description

@eb-88

What type of issue is it? (Choose one - delete the others)

Missing documentation

What article/section is this about?

https://docs.umbraco.com/umbraco-cms/fundamentals/setup/server-setup/iis

Describe the issue

Description:

After a fresh installation of Umbraco on IIS, I encountered a 405 error when attempting to save content items. The issue was traced back to the WebDAV module, which was intercepting and blocking certain PUT requests that Umbraco relies on for saving content.

Steps to Reproduce:

  1. Install Umbraco on a new IIS setup.
  2. Deploy on a Windows Server with IIS
  3. Attempt to save a content item.
  4. Notice that a 405 HTTP error is returned.

Expected Behavior:

Content items should be saved successfully without any HTTP errors.

Actual Behavior:

The PUT requests required for saving content are being blocked by the WebDAV module, resulting in a 405 error.

Workaround:

The issue can be resolved by disabling the WebDAV module in the web.config file.

I applied the following changes:

<modules runAllManagedModulesForAllRequests="false">
    <remove name="WebDAVModule" />
</modules>

Additional Information:

Umbraco Version: 15.1.1.14
IIS Version: 10
Environment: Windows Server 2022 21H2 20348.1366 / .NET 9

It may be beneficial to update the documentation or configuration templates for IIS deployments to note that the WebDAV module can interfere with Umbraco’s functionality.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions