Error while refreshing the Temp Table in Visual Studio and RDP Class design

If you are getting the error while refreshing the Temp Table in Visual Studio, and also getting the same error to add RDP class in Designing the SSRS report
 Error is:
 "An error occurred when retrieving the meta data for the query.
 Exception occurred on the meta data service on client or server.
 See Exception details below:
 >data or calculated fields with type"Record" are not supported".


1.redeploy meta data, BI service from services node, also try refresh BC proxy setting from AX configuration
2.There is problem in RDP Class can you please Check any field is missing or else you can do one thing just in Visual studio Take the name for the DS and Remove and try to add once again ten you will find out the Error clearly then you can fix that from AX