error in hot fix sql update kentico 13

lawrence whittemore asked on October 15, 2024 14:56

(1 row affected)
Msg 4901, Level 16, State 1, Line 2321
ALTER TABLE only allows columns to be added that can contain nulls, or have a DEFAULT definition specified, or the column being added is an identity or timestamp column, or alternatively if none of the previous conditions are satisfied the table must be empty to allow addition of this column. Column 'CategoryAllowAllTypes' cannot be added to non-empty table 'CMS_Category' because it does not satisfy these conditions.

what is the recomended way to complete this now?

Correct Answer

Juraj Ondrus answered on October 15, 2024 15:05

I would recommend checking the bug tracker for the already known and fixed issues. So, in this case the best way would be applying the latest hotfix no. 165:

Hotfix - Category-related errors when hotfixing projects with version 13.0.141 or older When updating a project from version 13.0.141 or older directly to 13.0.161 or newer, an error occurred during the hotfix procedure if the project's data contained one or more categories (defined in the Categories application). Such projects weren't updated correctly, and various category-related errors could occur.

0 votesVote for this answer Unmark Correct answer

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