The property 'Value' provided at the end of the PropertyName property of the EntityPropertyMappingAttribute on a type is not a primitive type or a collection type. - Microsoft.Data.OData.ODataException: The property 'Value' provided at the end of the PropertyName property of the EntityPropertyMappingAttribute on a type is not a primitive type or a collection type.
at Microsoft.Data.OData.Metadata.EpmSourceTree.Add(EntityPropertyMappingInfo epmInfo)
at Microsoft.Data.OData.Metadata.ODataEntityPropertyMappingCache.BuildEpmForType(IEdmEntityType definingEntityType, IEdmEntityType affectedEntityType)
at Microsoft.Data.OData.Metadata.EpmExtensionMethods.EnsureEpmCacheInternal(IEdmModel model, IEdmEntityType entityType, Int32 maxMappingCount, Boolean& cacheModified)
at Microsoft.Data.OData.Atom.ODataAtomReader.ReadEntryStart()
at Microsoft.Data.OData.Atom.ODataAtomReader.ReadAtFeedStartImplementation()
at Microsoft.Data.OData.ODataReaderCore.ReadImplementation()
at Microsoft.Data.OData.ODataReaderCore.InterceptException[T](Func`1 action)
at System.Data.Services.Client.Materialization.ODataReaderWrapper.Read()
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.TryRead() - System.InvalidOperationException: The property 'Value' provided at the end of the PropertyName property of the EntityPropertyMappingAttribute on a type is not a primitive type or a collection type. ---> Microsoft.Data.OData.ODataException: The property 'Value' provided at the end of the PropertyName property of the EntityPropertyMappingAttribute on a type is not a primitive type or a collection type.
at Microsoft.Data.OData.Metadata.EpmSourceTree.Add(EntityPropertyMappingInfo epmInfo)
at Microsoft.Data.OData.Metadata.ODataEntityPropertyMappingCache.BuildEpmForType(IEdmEntityType definingEntityType, IEdmEntityType affectedEntityType)
at Microsoft.Data.OData.Metadata.EpmExtensionMethods.EnsureEpmCacheInternal(IEdmModel model, IEdmEntityType entityType, Int32 maxMappingCount, Boolean& cacheModified)
at Microsoft.Data.OData.Atom.ODataAtomReader.ReadEntryStart()
at Microsoft.Data.OData.Atom.ODataAtomReader.ReadAtFeedStartImplementation()
at Microsoft.Data.OData.ODataReaderCore.ReadImplementation()
at Microsoft.Data.OData.ODataReaderCore.InterceptException[T](Func`1 action)
at System.Data.Services.Client.Materialization.ODataReaderWrapper.Read()
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.TryRead()
--- End of inner exception stack trace ---
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.TryRead()
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.TryStartReadFeedOrEntry()
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.TryReadEntry(MaterializerEntry& entry)
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.d__0.MoveNext()
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.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.d__97`1.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at System.Data.Services.Client.DataServiceQueryProvider.ReturnSingleton[TElement](Expression expression)
at DupontStateForest.SiteMaster.LoadContent() in C:\NCDevOps\_VSTS\NCFSProjects\DupontForest\DupontForest\Site.Master.vb:line 0