How can I get OData DELETE to work? How can I get OData DELETE to work? asp.net asp.net

How can I get OData DELETE to work?


The WebDAV module will block both the DELETE and PUT (update) verbs for IIS. You can either uninstall WebDAV (recommended) or simply remove it from the Handlers of the site. More details can be found here: http://forums.iis.net/t/1166025.aspx

One way to do this is to add the following remove lines to your site's web.config:

<system.webServer>    <modules>        <remove name="WebDAVModule" />    </modules>    <handlers>        <remove name="WebDAV" />    </handlers></system.webServer>