EPIServer 6 doesnt let admin delete page

746 views Asked by At

I have an issue where EPIServer 6 says "insufficient privileges to change this page". I am 100% sure that I'm the highest admin available, and I have tried on my colleagues admin accounts aswell.

This is the icon showing:

enter image description here

The page was previously forcefully deleted from the project giving a and error when trying to access it from the menu. I added the page back in the project, but still cannot delete it via episerver on the page..

Any ideas? Google search turns up dry..

3

There are 3 answers

0
Codemonkey On BEST ANSWER

If you have access to the EPiServer database directly you can run this script in order to force delete a page. At least if you're using EPiServer 6.

--- Force EPiServer page deletion
declare @pageIDtoDelete int
set @pageIDtoDelete = <INSERT PAGE ID HERE>

delete from tblWorkProperty where fkWorkPageID in (select pkID from tblWorkPage where fkPageID = @pageIDtoDelete)
delete from tblWorkPage where fkPageID = @pageIDtoDelete
delete from tblProperty where fkPageId = @pageIDtoDelete
delete from tblAccess where fkPageID = @pageIDtoDelete
delete from tblPageLanguage where fkPageID = @pageIDtoDelete
delete from tblPage where pkID = @pageIDtoDelete
2
PaddySe On

Switch over to Admin mode, and check what groups your user is part of. Then go to Set Access Rights (still in Admin mode), select the page in the tree, and make sure that any of the groups your user is part of has Delete or Administer rights for the page. If none do, check if your user has any of those rights for the page. If not, then add those rights for your user, switch to Edit mode and delete the page.

If it still doesn't work, make the same checks for the Recycle Bin.

1
Ted Nyberg On

You should be able to delete it through code using the DataFactory Delete method with a RequiredAccess of None.

Although, that won't clarify why you can't delete the page through the UI... :/