could it be that in your application you are using two versions of OpenAccess? I'm asking this because the LongIdentity type is derived from IObjectId, and a cast can then only fail if IObjectId != IObjectId and this could be caused by two versions of OpenAccess beeing used by your application.
All the best,
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items