Page Check in issue

Wei Wang asked on November 13, 2020 16:01


I tried to edit a page and when I click on "Check in" button, it gave me an error message saying: An error occurred during the page action. Please see event log for more details. Event log says: Sequence contains no elements. Which does not make much sense.

Any suggestion on what could be the issue?

Thanks, Wei Wang

Recent Answers

David te Kloese answered on November 13, 2020 16:10

Is this a Portal Engine or MVC site?

Where did you try to check in... where you updating widgets or entering form fields?

0 votesVote for this answer Mark as a Correct answer

Wei Wang answered on November 13, 2020 17:28

Yes, this is Portal Engine. Kentico 11. I want to check in a page that I have edited a field in the form tab.

So I tried to do the same in test Kentico site and it works.

Also another strange behavior I found in the page form tab. I am trying to update the Product name field in the form tab of this event instance page, it saved correctly, and then checked in fine. But then when I refresh the page, the Product name still shows the old value. So I then checked in the database COM_SKU table, indeed the field SKUName remains the old value, didn't gets the updated value. But all other fields in the product form like price, description, etc all updated correctly. I am very puzzled...

thanks for helping me

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on November 16, 2020 14:59

I assume this worked fine at some point - what was changed recently? Not only in Kentico but also in the environment - e.g. server updates, .Net framework, etc. Also, if it works on the test instance, what is the difference? Is there any custom code, custom event handler or anything else which may be triggering any code when saving/checking in the page?
Are you using workflows?

0 votesVote for this answer Mark as a Correct answer

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