Kbase P156825: Visual Designer gets a "Root element is missing" error when loading custom user interface control fo
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/3/2009 |
|
Status: Unverified
SYMPTOM(s):
Custom user interface control created in Visual Designer
Error occurs when attempting to load custom user interface control back into Visual Designer
An exception occurred loading the design canvas: Root element is missing.
FACT(s) (Environment):
Windows
OpenEdge 10.2x
CAUSE:
Customer uses Roundtable and has configured Roundtable to create am empty .resx file each time a new .NETUI form is created. However, the Visual Designer tries to load any .resx file when it loads a form for editing (even if the form does not actually reference the .resx file .. they are considered to be a linked set of files) and the loading of the .resx file fails because it is empty.
FIX:
Deleting the empty .resx file (if it is not referenced in the forms source code) will allow the form to be loaded by the Visual Designer.
Roundtable should be configured so that it does not create an empty .resx file.