Blog

HTTP 405: The HTTP verb used to access this page is not allowed

Tags: HTTP 405HTTP verb used to access this page is not allowedWindows 2003

Published on: February 25, 2010 by Arnold Pablo

HTTP 405: The HTTP verb used to access this page is not allowed

Scenario:

Our windows server management clients often complaints that on HTML pages, they were getting the error,

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

405 means that your Web Server is not recognizing the HTTP method(GET,POST,HEAD etc.) in the request. Despite asking him to change the extension to .asp, he insisted on having HTML extension and still process the HTTP verbs, where it is POST method here.

The situation becomes like this a static page wants to be read a dynamic page and process the values obtaining from POST method. Solution is to make the .html read as .asp with asp dll, just like we do HTML parse as PHP in Linux boxes Here are the steps to do it on a Windows 2003 machine

1. Start –> Run –> inetmgr
2. Websites –> website/domain name in question
3. Right Click on the domain –> Properties –> Home Directory –> Configuration
4. In the tab Mappings –> Add an extension for .html and .htm , if it is missing (most cases it will be missing) and edit to add all verbs (POST, GET, HEAD are needed)
5. Fields to be added are as below,

Executable : C:\WINDOWS\system32\inetsrv\asp.dll
Extension : .html
Limit to : GET,HEAD,POST,TRACE

And Click Apply,OK :)All is well !!

If you need any assistance regarding windows servers, you can contact our windows server management team directly and they will help you in no time 🙂

Category : IIS, Troubleshooting, Windows

Arnold Pablo

Arnold Pablo

Technology always fascinated me and continues to do so. I started my career back in 2004 as a Junior System Admin and worked in various capacities both in technical and managerial roles. I love to experiment and try out new OSS projects and in free time, go for cycling to the interiors of God's own country, Kerala!

You may also read:

Comments

Add new commentSIGN IN

Let's Connect

Categories

Your Cart

Cart is empty.

Subtotal
₹0.00
APPLY
0
Send this to a friend