I'm writing a custom HTTPHandler for some webdav-verbs. The requests with verbs
GET, HEAD, OPTIONS...etc are going fine. But on verbs like
PROPFIND and LOCK I get a 405, 'method not allowed'-exception.
I'm using IIS 7.5
The way I implement the handler in the web.config:
Chris9876123...
Member
2 Points
2 Posts
Custom HTTPHandler, PROPFIND / LOCK, 405
Mar 08, 2012 12:36 PM|LINK
Hi,
I'm writing a custom HTTPHandler for some webdav-verbs. The requests with verbs GET, HEAD, OPTIONS...etc are going fine. But on verbs like PROPFIND and LOCK I get a 405, 'method not allowed'-exception.
I'm using IIS 7.5
The way I implement the handler in the web.config:
<system.webServer>
<handlers>
<add name="MyHandler" type="MyLibrary.MyHandler" verb="*" path="*"/>
</handlers>
</system.webServer>
In IIS I also added the verbs LOCK and PROPFIND explicitly to the Request Filtering, but this makes no difference.
How can I solve the 405-error?
Thanks in advance for any help.
Cheers,
Chris
Chris9876123...
Member
2 Points
2 Posts
Re: Custom HTTPHandler, PROPFIND / LOCK, 405
Mar 19, 2012 09:38 AM|LINK
Resolved it a while ago, but here's the answer:
WebDav was in the way, I needed to remove both the module (WebDAVModule) and the handler (WebDAV).