question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot Delete Things

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
jeremy-farrancecommented, Oct 30, 2020

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>
2reactions
david-poindextercommented, Dec 22, 2021

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.
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Force Delete A File on Windows 11/10/8/7? [Can't ...
Can't delete a file is open in the system? · Close the Program. Let's start with the obvious. · Reboot your computer. ·...
Read more >
Can't delete a file in Windows? Here are eight solutions
Options for deleting undeletable files · Close all programs · Restart the computer · Remove a deleted folder · Start in Safe Mode...
Read more >
Solved: Can't Delete File in Windows 10
Let's start with an easy one. If a file or folder won't delete from your computer, you can try forced removal via Command...
Read more >
How to Force Delete a File That Cannot Be ...
Method 1. Force Delete Files/Folders Using CMD · Method 2. Use Safe Mode to Unlock and Delete Files · Method 3. Use Shift...
Read more >
7 Ways to Delete Files That Cannot Be Deleted
Type del followed by the file name and press ↵ Enter . For example, "del testfile.txt". This deletes the file. [2] X ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found