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 can I enable ASP.NET 3.5 on your Control Panel?
Viewed 4144 times since Wed, May 2, 2012
About Azure Key Vault
Viewed 2089 times since Mon, Nov 2, 2020
How to Solve an Error Message "Validation of viewstate MAC failed"
Viewed 9844 times since Tue, Apr 2, 2013
How do I send an email from my ASP.NET website by using SMTP Authentication?
Viewed 6830 times since Tue, May 1, 2012
How do I query MySQL database in ASP.NET?
Viewed 12877 times since Tue, May 1, 2012
I get an error Server.CreateObject Failed when I try to use CDONTs. What can I do?
Viewed 3203 times since Tue, May 1, 2012
I am unable to renew my Let’s Encrypt SSL
Viewed 2820 times since Thu, Aug 23, 2018