SQL transaction deadlock while creating new page type

Tomasz Sikora asked on October 14, 2017 16:49

On step 2 (of 7) of page type creation where I'm selecting that new page type will be content only page type, after I click next I'll have a message that error occurred. Checking event log tells me that there was a transaction deadlock in SQL server. Image Text How can I resolve this problem? Everything else seems working so far (I'm creating new pages, templates, inserting widgets, adding content). But when I try to create new page type, I can only create container page type. When I try to create regular page type, it does not matter if it's content only or not, I got this error. I'm running Kentico 10.0

Recent Answers


Brenden Kehren answered on October 14, 2017 18:20

What is the namespace and class name of your new page type?

0 votesVote for this answer Mark as a Correct answer

Tomasz Sikora answered on October 15, 2017 11:05 (last edited on October 15, 2017 11:06)

It does not matter. I can type anything in namespace and class name. I'll get this error every time. In the following screenshot I have "custom" namespace and "sss" class name.

Image Text

After I get this error in step 2, page type is somehow created but without corresponding table in sql (table does not exist there). After that, table name has also database name in square brackets at the beginning.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on October 15, 2017 15:12 (last edited on October 19, 2017 14:54)

Do not use the namespace "custom" or "CMS" for your page types or any other custom items you create or add. Those are reserved names within Kentico and can cause issues, like you are experiencing, later on.

0 votesVote for this answer Mark as a Correct answer

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