Table of contents
Collapse the table of content
Expand the table of content

Illegal parameter. Can't write object because it does not support persistence.

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

This error has the following causes and solutions:

  • You attempted to write an object to a PropertyBag object, but the object doesn't support one of the ActiveX persistence interfaces. To fix this, you must have access to the code for the object. It must a Visual Basic-created object and have its Persistable property set to True. Also, the Class must be either Public or Public Createable and be in an ActiveX Dll, ActiveX Exe, or UserControl project.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

© 2018 Microsoft