2sxc: Cannot Delete Things

I’m submitting a bug report or not sure about the admin experience UI and Content Types or data management.

Current behavior I noticed this earlier today while running 2sxc 11.7.2. Before submitting the issue, I made a backup and upgraded to the newly released 11.7.3, this did not fix it.

If you try to delete a field in a Content Type, a permission in a Content Type, or a Content Type, you get an error:

Had an error talking to the server (status 405).

if you are an advanced user...

Here is a video demoing the problem. Note that this is a clean install of DNN 9.07.02. The Content App is installed, but there were no other apps, 2sxc 11.7.2 was installed and I upgraded it to 11.7.3. I just did Create App and named it “Accu4” then went straight in to create a simple Content Type named TEST4 as you can see here in this zipped video demo. 2sxc-demo-delete-fails-sNWTyjdbZO.zip

Expected behavior I should be able to delete stuff. 😃

Minimal reproduction of the problem with instructions Above.

Please tell us about your environment: Self-hosted DNN instance on Windows Server 2016 in SQL 2016.

2sxc version(s): 11.7.2 and 11.7.3 at least Browser: all DNN: 9.07.02

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (7 by maintainers)

Most upvoted comments

Okay, it was definitely WebDAV. Removing it via Server Roles didn’t work. Removing it in web.config didn’t work.

Important: if someone else reads and needs to try this, a) backup your server and b) make a backup of applicationHost.config before you make changes. And if you do not know where this file is or how to get your edits to save, re-read a and b again.

What did finally work was manually editing IIS’ applicationHost.config file and adding ‘remove’ in both <modules> and <handlers>.

...
      <remove name="WebDAVModule" />
    </modules>

...
      <remove name="WebDAV" />
    </handlers>

thanks running dnn10 had this issue was driving me crazy the below worked!! david-poindexter You can access via: Server Manager > IIS > Roles and Features

Find WebDAV Publishing in the list. Right-click and select Remove Role or Feature

For others running into this and looking for a UI-based way to handle this, you can simply turn off (remove) the WebDAV Publishing feature in IIS.

You can access via: Server Manager > IIS > Roles and Features

  • Find WebDAV Publishing in the list.
  • Right-click and select Remove Role or Feature.
  • Then traverse the tree Internet Information Services > World Wide Web Services > Common HTTP Features > WebDAV Publishing and uncheck it.
  • Continue through the wizard and remove the feature.

WebDAV is not a DNN thing in any way. It only gets introduced by the host server. If the Windows Server (think add Features/Roles) has WebDAV added (its available under the IIS stuff), then it interferes with DNN or ASP.NET’s extensionless URLs as detailed above.

@skarpik I believe a long time ago we changed the HTTP-Verb to be “post” even for the delete. So it’s technically not 100% the recommended way, but it doesn’t cause the problems mentioned above 😉

So that leaves me with the unanswered question - how/why does WebDAV get to handle that URL before (or instead of) “ExtensionlessUrl-Integrated-4.0”?

These are both DNN instances that were deployed this Jul and/or Aug, using DNN 9.6.x or higher. I will check more closely in a few hours and add more soon, thanks!!