I’m encounting a method now allowed exception when calling a controller action which accepts the Delete verb.
I thought the problem was that the HandlerMappings in IIS 7.0 were wrong and when I looked
at:
ExtensionlessUrl-ISAPI-4.0_64bit
ExtensionlessUrl-ISAPI-4.0_32bit
ExtensionlessUrl-Integrated-4.0
Sure enough they didn’t accept the DELETE verb. I added this to the list of Verbs but I am still getting an error so I’m at a loss as to why this is the case. Can anyone shed any light on this?
I discovered this issue was being caused by the WebDav module. I removed this from my web.config and this resolved the issue.
Hope this helps someone else!