- levelProp = new ConfigurationProperty ("level", typeof (string), "Full", ConfigurationPropertyOptions.IsRequired);
+ levelProp = new ConfigurationProperty ("level", typeof (string), "Full",
+ TypeDescriptor.GetConverter (typeof (string)),
+ PropertyHelper.NonEmptyStringValidator,
+ ConfigurationPropertyOptions.IsRequired);