The property’s setting can't be set at run time or can only be set under certain conditions. This error has the following causes and solutions:
You may only read these property values at run time.
You can't have a parent menu with no visible submenu items.