U4-3426 - Can't delete any contentnode, media, document type or template from back end, Umbraco 7.0.0-RC

Created by Anders Holmér 06 Nov 2013, 13:26:21 Updated by Damon Bauer 06 Dec 2013, 15:24:28

All that happends is the progress inducator lights up, but no items will be removed, Clean install. SQL2012

Comments

Sebastiaan Janssen 06 Nov 2013, 14:42:27

I can't reproduce this, please tell us about the environment (IIS/IIS Express? Don't use the old built in visual studio server "cassini"), windows, visual studio..? If you look in fiddler when deleting the items, do you get errors, if so what are they?


Anders Holmér 06 Nov 2013, 15:03:04

[15:57:04,846] DELETE http://umb70.holmerutv.se/umbraco/UmbracoApi/Legacy/DeleteLegacyItem?nodeId=1046&nodeType=nodeTypes&alias=test1 [HTTP/1.1 405 Method Not Allowed 13ms]

Running on Windows Server 2008 r2, IIS 7.5, SQL 2012, manual clean install of Umbraco 7, only change to WebForms in umbracosettings, DefaultRenderingEngine.


Sebastiaan Janssen 06 Nov 2013, 15:10:46

Try putting this in your web.config:

http://stackoverflow.com/a/14060774/5018

So:

<system.webServer> </system.webServer>


Anders Holmér 06 Nov 2013, 19:49:26

sovled the problem


James Green 09 Nov 2013, 01:07:04

This one caught me out the same way. Would there be any harm in including those lines in Web.config out of the box? It lead to a fair bit of head scratching because the error isn't surfaced in the UI.


Damon Bauer 21 Nov 2013, 16:13:36

Just tried a clean install of 7.0.0 on Server 2008 R2, IIS 7.5, SQL 2008 R2 & had the same issue (couldn't delete a template). I was getting a 405 error in the Chrome console.

I added the lines to the web.config and restarted the app pool and site in IIS & tried again.

Now I get a red box that pops up saying '''"Request error: The URL returned a 404 (not found): /umbraco/UmbracoApi/Legacy/DeleteLegacyItem"''' and there's now a 404 error in the console for "http://...com/umbraco/UmbracoApi/Legacy/DeleteLegacyItem?nodeId=1046&nodeType=templates&alias=Test".


Tony Kiernan 29 Nov 2013, 11:28:27

I downloaded and installed this yesterday (28/11/13). Experiencing the same issue. Making the change above (and restarting everything) fixed it. Can this be added to the config by default please?


Sebastiaan Janssen 02 Dec 2013, 16:52:18

We'll need to investigate why this is a problem for a small number of people. I'm sure that removing modules is going to cause an equal (if not greater) amount of problems for people who were actually using WebDAV.

We tend to only add things to the web.config that are strictly necessary for Umbraco, I'm sure you'll understand we don't want to touch people's custom setups too much.


Shannon Deminick 03 Dec 2013, 00:14:54

There's lots of info about this .Net/IIS issue on the web... (by chance are any of your running IIS in non-integrated mode?)

This is in regards to IIS 7.5 http://stackoverflow.com/questions/12276316/mvc-4-iis-7-5-put-returning-405 http://stackoverflow.com/questions/1760607/asp-net-mvc-got-405-error-on-http-delete-request

This is in regards to IIS 8 - one of the fixes mentioned here also works for IIS 7.5: http://stackoverflow.com/questions/10906411/asp-net-web-api-put-delete-verbs-not-allowed-iis-8


Anders Lynge Pedersen 05 Dec 2013, 15:08:41

Had the exact same problem, the webconfig changes fixed it. Clean Umbraco 7 install.


Rasmus Lynggaard 05 Dec 2013, 15:09:01

I've also experienced this on three different installations (All on Windows 8)


Shannon Deminick 06 Dec 2013, 01:10:56

I cannot replicate this issue no matter what I try, I am running win 8.1 though so maybe it's all fixed there?

I've checked my iis and iis express application config and my ExtensionlessUrlHandler bits don't list DELETE, PUT, etc... but it still works, my app configs also have the default webdav config and it still works.

Anyone know how i can replicate this?


Anders Lynge Pedersen 06 Dec 2013, 06:29:23

I had the problem on Windows 7 and our production server, running Windows Server 2008 R2, sp1.


Damon Bauer 06 Dec 2013, 15:24:28

I found a solution that worked for me. YMMV.

I performed the Web.config updates from Sebastiaan above (removing WebDav). That, coupled with changing the IIS Application Pool for this site from "Classic" to "Integrated" fixed the problem.


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.0

Due in version: 7.0.1

Sprint:

Story Points:

Cycle: