Home » Categories » Multiple Categories

How to Solve the error: "405 - HTTP verb used to access this page is not allowed"?

This applies to anyone who uses REST service using ASP.NET Web API. When you try to send HttpDelete and HttpPut Request, you can occassionally see this error message:

405 - HTTP verb used to access this page is not allowed

To resolve this issue, you just need to add several lines on your code:

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

Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
How do I redirect a subdomain to a subdirectory?
Viewed 4455 times since Tue, May 1, 2012
I cannot see my website. What should I do?
Viewed 4179 times since Thu, May 3, 2012
I am unable to renew my Let’s Encrypt SSL
Viewed 2953 times since Thu, Aug 23, 2018
Domain Name Server (DNS) Amplification Attack
Viewed 9884 times since Wed, Oct 15, 2014
About Azure Key Vault
Viewed 2209 times since Mon, Nov 2, 2020
Sample Code to Send email using ASP.NET1.1
Viewed 5834 times since Tue, May 1, 2012
How to solve the Let’s Encrypt SSL on ASP.NET Core
Viewed 10085 times since Mon, Jul 17, 2017
How do I query MySQL database in ASP.NET?
Viewed 13003 times since Tue, May 1, 2012