Exception

Sep 9, 2013 at 7:22 PM
I am getting this error when I press the OK button on the client app. Any Ideas?

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotSupportedException: An unsupported call was made to IEdmEntityType.IsOpen. Only a subset of the IEdmEntityType interface is supported in order to protect user implementations which may not implement the entire contract.
at System.Data.Services.Client.Metadata.EdmEntityTypeFacade.get_IsOpen()
at Microsoft.Data.OData.ReaderValidationUtils.FindDefinedProperty(String propertyName, IEdmStructuredType owningStructuredType, ODataMessageReaderSettings messageReaderSettings)
at Microsoft.Data.OData.JsonLight.ODataJsonLightEntryAndFeedDeserializer.ReadEntryPropertyWithValue(IODataJsonLightReaderEntryState entryState, String propertyName)
at Microsoft.Data.OData.JsonLight.ODataJsonLightEntryAndFeedDeserializer.ReadEntryContent(IODataJsonLightReaderEntryState entryState)
at Microsoft.Data.OData.JsonLight.ODataJsonLightReader.ReadEntryStart(DuplicatePropertyNamesChecker duplicatePropertyNamesChecker, SelectedPropertiesNode selectedProperties)
at Microsoft.Data.OData.JsonLight.ODataJsonLightReader.ReadAtFeedStartImplementationSynchronously()
at Microsoft.Data.OData.ODataReaderCore.ReadImplementation()
at Microsoft.Data.OData.ODataReaderCore.InterceptException[T](Func1 action)
at System.Data.Services.Client.Materialization.ODataReaderEntityMaterializer.ODataFeedOrEntryReader.TryRead()
at System.Data.Services.Client.Materialization.ODataReaderEntityMaterializer.ODataFeedOrEntryReader.TryStartReadFeedOrEntry()
at System.Data.Services.Client.Materialization.ODataReaderEntityMaterializer.ODataFeedOrEntryReader.<LazyReadEntries>d__0.MoveNext()
at System.Data.Services.Client.Materialization.ODataReaderEntityMaterializer.ODataFeedOrEntryReader.Read()
at System.Data.Services.Client.Materialization.ODataEntityMaterializer.ReadImplementation()
at System.Data.Services.Client.MaterializeAtom.MoveNextInternal()
at System.Data.Services.Client.MaterializeAtom.MoveNext()
at System.Linq.Enumerable.<CastIterator>d__b1
1.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at Coevery.AppFramework.DataServiceContextExtension.ToList(DataServiceQuery source)
at Coevery.AppFramework.ODataObjectSpace.GetObjects(String entityName, CriteriaOperator filter, PropertySelector selector)
at Coevery.Shell.LoginForm.VarifyUser(Use

Thanks
Steve