Unable to cast object of type 'Microsoft.Xrm.Sdk.Entity' to type '....'
When you use early bound classes to query the data in CRM 2011 you will get InvalidCastException with above error message when you are missing "serviceProxy.EnableProxyTypes();" at your OrganizationServiceProxy as below.
No comments:
Post a Comment