Invalid error message for missing data structure entity in a screen

I have a screen based on the SD data structure. When I try to open the screen, I get the following error:

DataMember not set for a screen section inside a screen. Cannot render a screen section. 

When I check the screen section properties both in the Architect and in the XML file, both have the DataMember set.

pvi:value="SD" />

From the discussion it seems that you had a wrong context store assigned to the screen which did not have the right entity SD.

In that case the error message is misleading and should be fixed to correctly indicate that it is the entity that was not found in the data source, not a missing DataMember.