This error has the following causes and solutions:
To work around this, you can write each individual item of the user-defined type to the PropertyBag object.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).