HTTP error 405.0- Method Not Allowed “invalid method (HTTP verb)” when POSTing a form

Many times I came across this ‘HTTP error 405.0- Method Not Allowed “invalid method (HTTP verb)” when POSTing a form’ , I spent lot of time to resolve this issue 🙁 , and Finally I got the solution. I hope this solution will definitely help those who are struggling with the same.

Issue :
When I am trying to Post a request to a DLL which is protected by ISAPI filter. I am getting the error as HTTP error 405.0- Method Not Allowed “invalid method (HTTP verb)”.

Solution:
1. Make sure that you had selected these below given option while configuring the IIS.one
2. Go to RUN >> INETMGR>> select the Handler Mapping option as given it in the below image.three
3.Here you can see that CGI-exe and ISAPI-dll as disabled.  Right click on that and select the option ‘Edit featured permission’.
two
4. Now you will get a pop-up window, give the execute permission also.four

 

 

 

 

Happy coding 🙂 🙂 !!!

2 Comments

  1. kaleem khan

    hi sir,
    I am create new website in bigrock domain company as(www.kkengineerings.com)
    and i have hosting plan in same company, and I edited the html and upload it to the server via ftp client, now the problem is,,,, I can’t recieve any mail from my web contact form till then. Please tell me whats wrong with my site. Well I am new to the web world.
    sorry for my english.
    I Hope you understand my question

    Reply
  2. Inessa Pokromkina

    Dudes! Is that a windows` problem?
    Why I get the same on Linux? And how to solve?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *