I'm getting this error when trying to execute table.Delete(row), the error is thrown on the first row. There are many tables in this file geodatabase so I've tried with different ones for some tables it works and for others it doesn't. These are all standalone tables, no relationships, editor tracking is not on. File geodatabase is generated from a 10.2.2 geodatabase. This table has a few fields and the only field that stands out is Settings which is defined as nvarchar(max) in geodatabase.
Fields:
ObjectID
Name: text 255
Settings: text 1073741822
ModifiedTime: date
Version: Text 255
SettingsType: Text 255
RowCollection rowCollection = table.Search("*", whereClause, RowInstance.Unique);
foreach (Row row in rowCollection)
{
table.Delete(row);
}