Cannot delete pages

Wei Wang asked on April 28, 2021 17:23

Hi,

I try to delete some archived event pages or the whole folder but got "Failed to delete the page: [DataConnection.HandleError]" error with "Caused exception: Invalid column name" in the end of error message.

The column caused exception probably is the column added recently for some new functions. But these pages I want to delete was years old. So what's the best way to delete those old pages? Don't want to keep thousands of old event pages keep accumulating in CMS tree.

We are on Kentico 11 portal engine.

Thanks, Wei Wang

Correct Answer

Brenden Kehren answered on April 29, 2021 15:15

If it's a column specific to that page type, then add that column name to the page type, attempt to delete the pages, then remove the column name from the page type.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on April 29, 2021 06:24

Instead of deleting the pages try destroying them. There is a checkbox that shows up when you confirm the delete action. There might be an issue with workflow and versioning.

0 votesVote for this answer Mark as a Correct answer

Wei Wang answered on April 29, 2021 14:16

Not working either. same error message. It's complaining a database column that is not exist in the entire Kentico database. Don't know what to do now.

0 votesVote for this answer Mark as a Correct answer

Wei Wang answered on April 29, 2021 15:35

Great, this method is working! thanks

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.