IIS 7 and Above
HTTP Error Code 405 method not allowed
Last post Aug 26, 2011 11:08 AM by JoeDetro
Sep 30, 2008 07:30 AM|Jandon|LINK
Please i have my IIS on vista utimate configured to Asp.net.I have been trying to connect to Access 2007 or Mysql using Asp.net page on dreamweaver 8, but i keep getting "HTTP Error Code 405 method not allowed". Pls i do i configure my IIS to stop showing
Sep 30, 2008 05:19 PM|ksingla|LINK
Can you enable freb and paste input request information and module which is generating 405? Follow steps
here to enable freb and view log.
Oct 09, 2008 03:23 PM|Jandon|LINK
Thank u very much for your response, but i have not been able to enable freb using HTTP error 405 .I have gone through the example and followed it, but i seems not to be able to configure it using 405. Can u help me with step by step configuration
sample using 405.
Oct 09, 2008 07:25 PM|davcox|LINK
Actually, just look into your w3c log files and you'll see what "Method" is being sent to IIS; then make sure that the handler for your application accepts that Verb. Also, if the URL isn't to an actual file or if it's to a directory without an appended
slash, you may get the 405 error.
Another way to debug this is to use ethereal or some network monitor to see what is actually getting sent.
Oct 11, 2008 05:04 AM|Jandon|LINK
Thanks for your response, i have found the log file and the verb/method is sending to the IIS is "POST".So i do i make the handler of my application to accept the verb?
Oct 12, 2008 03:06 PM|ksingla|LINK
Yes. If you know which handler is picking the request, make sure handler is configured to allow POST verb. If you don't know which handler is picking the request, send a http request from the local IIS7 machine which will give you detailed error message
with handler information in it.
Oct 13, 2008 05:32 PM|Jandon|LINK
My log file shows the followings below after three attempt to connect to database.It seems not to contain any handler.How do i get to see the handler info in IIS 7 when testing a connection to a database.I tried to check the Applicationhost.config
file, but it contain so many handlers and i do not know which handler is picking this particular request.
#Date: 2008-10-13 07:53:35
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2008-10-13 07:53:35 ::1 POST /cafe_townsend/_mmServerScripts/MMHTTPDB.asp - 80 - ::1 MMHttp+(Windows;+Version:8.0) 405 0 1
2008-10-13 07:55:19 ::1 POST /cafe_townsend/_mmServerScripts/MMHTTPDB.asp - 80 - ::1 MMHttp+(Windows;+Version:8.0) 405 0 1
2008-10-13 08:04:25 ::1 POST /cafe_townsend/_mmServerScripts/MMHTTPDB.asp - 80 - ::1 MMHttp+(Windows;+Version:8.0) 405 0 1
Oct 13, 2008 08:50 PM|anilr|LINK
Easiest way would be to make the request from the local machine - the resulting detailed error response would contain the handler for the request.
Oct 15, 2008 06:05 PM|Jandon|LINK
I am trying to connect to MySql using Asp.net through the data link on dreamweaver 8, So how do i get a resulting detailed of my request that would contain the handler ?
Oct 20, 2008 01:45 PM|digitz|LINK
Hi Jandon -
I have had this problem for the past couple weeks as well and after some tough research, I have found a fix.
It is located here >
If that does not redirect, this is the actual page that it redirects to >
Don't do any special handler request changes or anything at this time. Just follow the simple instructions in the fix. If you need more help, let me know.
Thanks - Tony
Nov 01, 2008 12:05 AM|Jandon|LINK
Thank u very much for your assistance, but when i tried the instructions on the fix step by step accordingly, what comes up when testing for connection is "access denied", but not HTTP Error 405 again. So i still cannot connect to the database.
Nov 03, 2008 12:07 AM|qbernard|LINK
access denied ? 401.3 or ? it is different from 405. can you post the latest complete error msgs? anything in event log?
Aug 26, 2011 11:08 AM|JoeDetro|LINK
Those links do not work, do you still have that information you can pass along again?
Thanks - Joe