HomeHome Product Discus... Product Discus...RazorCartRazorCartUnable to delete an item from the cartUnable to delete an item from the cart
Previous
 
Next
New Post
3/21/2017 3:15 PM
 

Yesterday we had a customer report they were unable to delete an item from the cart.  The issue turned out to be related to IIS and the easy fix is to uninstall WebDAV because it brakes MVC, WebAPI and RESTful service

http://stackoverflow.com/questions/12440277/how-do-i-enable-http-put-and-delete-for-asp-net-mvc-in-iis

http://stackoverflow.com/questions/6739124/iis-7-5-enable-put-and-delete-for-restful-service-extensionless

 

Here's how to turn off WebDav on your IIS:

 

 


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
6/29/2017 5:00 AM
 
For those of you who are in a shared hosting environment and cannot uninstall WebDAV, you can explicitly remove it from your site by adding the following remove tags into the web.config file of your site.

<configuration>
  <system.webServer>
    <modules>
      ...
      <remove name="WebDAVModule" />
      ...
    </modules>
    <handlers>
      ...
      <remove name="WebDAV" />
      ...
    </handlers>
  </system.webServer>
</configuration>
 
Previous
 
Next
HomeHome Product Discus... Product Discus...RazorCartRazorCartUnable to delete an item from the cartUnable to delete an item from the cart