Registering Data types

sara olgun asked on March 7, 2018 21:49


We are having problem when modifying the existing field from custom table. Error: [FieldEditor.SaveSelectedField()]: [DataTypeManager.GetFieldType]: SQL type 'varchar' is not registered, register the type with method RegisterDataTypes(...) Close

In database field is varchar() but in Kentico it is Text.

How we will register the datatype?

Thanks, Sara

Recent Answers

Brenden Kehren answered on March 7, 2018 22:12

This happens when a install is upgraded and it used an "old" datatype in SQL. If possible, delete the field and add it back using the datatype you want.

If you can't delete it, you'll have to look into the field in SQL and compare it with others (which work) and then modify the cms_class definition manually in the database.

0 votesVote for this answer Mark as a Correct answer

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