This action is not allowed in current context

Artyom F asked on August 23, 2015 22:43

Hi, I have a kentico 6 installation, if i go to CMSDesk, edit one particular content item (document i suppose) and try to save it i get the following error in a javascript alert: "This action is not allowed in current context". There is not much information on this error on the internet, it says that one of the parts of the page is broken, is there any way to determine which one? I get this error for ONLY ONE item, all the others are fine. Any ideas are welcome, I will provide any info needed.

Recent Answers


Roman Hutnyk answered on August 24, 2015 15:19

Have you checked Kentico event log? It should be under Site Manager -> Administration -> Event log. There might be more details.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on August 24, 2015 15:56

Clear the cache on the server and on your browser and that should resolve resolve the issue. You might also check to see you aren't missing any JS files. Have you recently upgraded or applied a hotfix?

0 votesVote for this answer Mark as a Correct answer

Artyom F answered on August 24, 2015 16:04

Hi, there is nothing related in the event logs, also it's hard to say whether there were any changes as I wasn't working on it for a long timespan. It's 100% true that no hotfix was applied thoug. There is a custom script on the page (i don't know how to configure it) that is inportant and there is an interesting behavior - if i make a full copy of the page then the copy is rendered without the script, could this indicate that the issue is script related?

0 votesVote for this answer Mark as a Correct answer

Boris Pocatko answered on September 23, 2015 04:19

I'd definitely try to remove the script. As you.'e mentioned, try creating a copy of the page and removing the script to see, if it helped.

0 votesVote for this answer Mark as a Correct answer

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