- 2 minutes to read

HTTP Error 405.0 - Method Not Allowed

Quickly resolve the HTTP Error 405.0 - Method Not Allowed in the Nodinite Web Client and WebAPI. This guide explains why the error occurs and provides actionable steps to fix it, ensuring seamless editing and management of your resources.

✅ Step-by-step solution for 405 errors in Web Client and WebAPI
✅ Remove WebDAV conflicts in IIS for reliable updates and deletes
✅ Visual examples and configuration tips for fast troubleshooting


Information

If WebDAV is installed and you receive a 405 error when editing (Update/Delete) resources in the WebAPI or WebClient, follow the solution below. You can apply this fix to the entire Web Site (usually Default Web Site) or to each Nodinite Application within IIS.

Example error message as shown in the WebClient

png_WebClientUnknownError
Example: Unknown error message in the Web Client when 405 occurs.

Full error message

png_WebDAVModuleMethodNotAllowed
Example: Full error message from WebDAV module in IIS.

Solution

Remove WebDAV from Modules and from Handler Mappings in IIS
png_IISHome
Example: IIS Home screen for module and handler management.

Modules

png_ModuleWebDAVRemove
Example: Removing WebDAV from IIS Modules.

Handler Mappings

png_HandlerWebDAVRemove
Example: Removing WebDAV from IIS Handler Mappings.

Note

Restart IIS or recycle the Application pool after this operation

The web.config file for WebAPI and WebClient should include the following exclusions:

  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="WebDAVModule" />
    </modules>
    <handlers>
      <remove name="WebDAV" />
      <remove name="OPTIONSVerbHandler" />
      <remove name="TRACEVerbHandler" />
      <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
      <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
      <remove name="BlockViewHandler" />
      <add name="BlockViewHandler" path="*" verb="Views/*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
    </handlers>
  </system.webServer>

Note

The system.webServer example is partial.


Web Client
Web API