HTTP verb used to access this page is not allowed – This issue occurred when an Interface was built using an API.

Error: 405 – HTTP verb used to access this page is not allowed.
The page you are looking for cannot be displayed because an invalid method (HTTP Verb) was used to attempt access.

After a bit of googling I found that this was caused by Web-Dav which is generally installed on all Windows running Server 2016 once IIS is installed. Unfortunately it wasn’t as easy as going to roles and trying to untick Web Dav Publishing as this was greyed out.

The solution… Powershell!

Stop IIS running.

Open Power Shell (Run as Administrator)

Enter the command;

Get-WindowsFeature | Where-Object -FilterScript { $_.Installed -Eq $TRUE }

HTTP verb used to access this page is not allowed

Now enter in the following which will uninstall WebDav Publishing

Uninstall-WindowsFeature Web-Dav-Publishing

Once uninstalled. Start IIS and test… You should be good to go!

 

Check out the post Windows Not Inheriting Permissions .

Leave a Reply