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.
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)”.
1. Make sure that you had selected these below given option while configuring the IIS.
2. Go to RUN >> INETMGR>> select the Handler Mapping option as given it in the below image.
3.Here you can see that CGI-exe and ISAPI-dll as disabled. Right click on that and select the option ‘Edit featured permission’.
4. Now you will get a pop-up window, give the execute permission also.
Happy coding 🙂 🙂 !!!