Rogue Wave Server Studio > Server Data Source Inspector Reference > Troubleshooting > Why am I Missing an Attribute or Relation in the Model?
 
Why am I Missing an Attribute or Relation in the Model?
Problem
Sometimes, you may find that the model that is loaded in the model pane of the Server Data Source inspector does not match the model that you believe you have in the Server. This may be caused by one of the following:
*Most likely, you have made a mistake somewhere in the macros that register your model with the model interpreter. If this happens, look very carefully at the macros you defined for the object in question and make sure that the attribute or relation has been declared correctly.
*If the macros are correct, check that the server has sent the correct information to the Server Data Source inspector.
Solution
To do so:
1. Choose Session Properties from the Edit menu.
The Edit Properties dialog box opens.
2. Click on the Trace Model option to turn on this mode.
3. Connect to the server.
You are now going to look at the Server Data Source inspector log window to see exactly what was sent by the server.
4. Select the Show Log command from the File menu.
The log window opens.
Log Window
The lines in the log that start with model: show what was received from the server. In the example above, we can see that the class Node was declared and that it contains an attribute called x which is an IlsEntry object of type int. Using this trace, you can debug your macros to be sure that the model is correctly declared to the model interpreter.

Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.