This question is locked. New answers and comments are not allowed.
I am seeing the below exception when calling GetObjectId on a scope object within a transaction after adding a newly created object to the scope, which did work fine before. I see no changes made to the entity class (the instance of which is getting added to scope) for quite some time.
System.InvalidCastException was caught
Message=Unable to cast object of type 'Telerik.OpenAccess.RT.OID.LongIdentity' to type 'Telerik.OpenAccess.IObjectId'.
Source=Telerik.OpenAccess.Runtime
StackTrace:
at Telerik.OpenAccess.RT.ObjectScope.GetObjectId(Object pc)
Any idea what might be causing this?
Thanks,
Ram
System.InvalidCastException was caught
Message=Unable to cast object of type 'Telerik.OpenAccess.RT.OID.LongIdentity' to type 'Telerik.OpenAccess.IObjectId'.
Source=Telerik.OpenAccess.Runtime
StackTrace:
at Telerik.OpenAccess.RT.ObjectScope.GetObjectId(Object pc)
Any idea what might be causing this?
Thanks,
Ram