After upgrading a lab to Citrix 2407, a user noticed EUC Connection was no longer working and opened a ticket. The property ‘VMPoweredOnDate’ does not exist on type ‘XenDesktopMonitor.XenDesktopMonitorV2.Connection’. A suggested method for troubleshooting is also mentioned.
Read the entire ‘Troubleshooting EUC Connection in Citrix 2407’ thread below:
EUC Connection for Citrix 2407 no longer working…
Just upgraded my Lab to Citrix 2407 and figured out that EUC Connection didn’t show Brokers and Delivery Groups anymore.
Upgraded the XD PoSh SDK to 2407 aswell during the debugging process.
@member already opened a ticket on this one (Ticket ID: 35617)
Using XD PoSh SDK from Data Collector works fine (see screenshot).
Maybe somebody already come across this?
Agent.log (log4net)
“`[…]
‘2024-08-19 16:56:00,290′,XenDesktopMonitor.XenDesktopMonitorProvider,'[58]’,’ERROR’,’Error at tmpSessions’
System.InvalidOperationException: The property ‘VMPoweredOnDate’ does not exist on type ‘XenDesktopMonitor.XenDesktopMonitorV2.Connection’. Make sure to only use property names that are defined by the type. —> Microsoft.Data.OData.ODataException: The property ‘VMPoweredOnDate’ does not exist on type ‘XenDesktopMonitor.XenDesktopMonitorV2.Connection’. Make sure to only use property names that are defined by the type.
at Microsoft.Data.OData.ReaderValidationUtils.ValidateValuePropertyDefined(String propertyName, IEdmStructuredType owningStructuredType, ODataMessageReaderSettings messageReaderSettings, Boolean& ignoreProperty)
at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueDeserializer.ReadPropertiesImplementation(IEdmStructuredType structuredType, ReadOnlyEnumerable`1 properties, DuplicatePropertyNamesChecker duplicatePropertyNamesChecker, Boolean epmPresent)
at Microsoft.Data.OData.Atom.ODataAtomEntryAndFeedDeserializer.ReadAtomContentElement(IODataAtomReaderEntryState entryState)
at Microsoft.Data.OData.Atom.ODataAtomEntryAndFeedDeserializer.ReadAtomElementInEntry(IODataAtomReaderEntryState entryState)
at Microsoft.Data.OData.Atom.ODataAtomEntryAndFeedDeserializer.ReadEntryContent(IODataAtomReaderEntryState entryState)
at Microsoft.Data.OData.Atom.ODataAtomReader.ReadAtNavigationLinkEndImplementation()
at Microsoft.Data.OData.ODataReaderCore.ReadImplementation()
at Microsoft.Data.OData.ODataReaderCore.InterceptExceptionT
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.ReadEntryCore()
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.TryReadFeedOrEntry(Boolean lazy, ODataFeed& feed, MaterializerEntry& entry)
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.ReadNavigationLink()
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.ReadEntryCore()
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.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToListTSource
at XenDesktopMonitor.XenDesktopMonitorProvider.c__DisplayClass32_0.b__1()
‘2024-08-19 16:56:00,399′,XenDesktopMonitor.XenDesktopMonitorProvider,'[49]’,’ERROR’,’Error at Getting Tmp Machines’
System.InvalidOperationException: The property ‘Type’ does not exist on type ‘XenDesktopMonitor.XenDesktopMonitorV2.Hypervisor’. Make sure to only use property names that are defined by the type. —> Microsoft.Data.OData.ODataException: The property ‘Type’ does not exist on type ‘XenDesktopMonitor.XenDesktopMonitorV2.Hypervisor’. Make sure to only use property names that are defined by the type.
at Microsoft.Data.OData.ReaderValidationUtils.ValidateValuePropertyDefined(String propertyName, IEdmStructuredType owningStructuredType, ODataMessageReaderSettings messageReaderSettings, Boolean& ignoreProperty)
at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueDeserializer.ReadPropertiesImplementation(IEdmStructuredType structuredType, ReadOnlyEnumerable`1 properties, DuplicatePropertyNamesChecker duplicatePropertyNamesChecker, Boolean epmPresent)
at Microsoft.Data.OData.Atom.ODataAtomEntryAndFeedDeserializer.ReadAtomContentElement(IODataAtomReaderEntryState entryState)
at Microsoft.Data.OData.Atom.ODataAtomEntryAndFeedDeserializer.ReadAtomElementInEntry(IODataAtomReaderEntryState entryState)
at Microsoft.Data.OData.Atom.ODataAtomEntryAndFeedDeserializer.ReadEntryContent(IODataAtomReaderEntryState entryState)
at Microsoft.Data.OData.Atom.ODataAtomReader.ReadAtNavigationLinkEndImplementation()
at Microsoft.Data.OData.ODataReaderCore.ReadImplementation()
at Microsoft.Data.OData.ODataReaderCore.InterceptExceptionT
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.ReadEntryCore()
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.TryReadFeedOrEntry(Boolean lazy, ODataFeed& feed, MaterializerEntry& entry)
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.ReadNavigationLink()
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.ReadEntryCore()
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.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToListTSource
at XenDesktopMonitor.XenDesktopMonitorProvider.c__DisplayClass32_0.b__0()
[…]
‘2024-08-19 16:56:00,680′,XenDesktopMonitor.XenDesktopMonitorProvider,'[72]’,’ERROR’,’Error on GetMachineData.
System.String GetStackTrace()
MonitorDataUnit GetMachineData(XenDesktopMonitor.XenDesktopMonitorV2.DatabaseContext, XDCollectingSettings, Boolean, PSClasses)
MonitorDataUnit GetData(XDCollectingSettings, PSClasses, Boolean)
MonitorDataUnit GetData(PSClasses, Boolean)
Void RefreshData(Boolean)
Void RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
Void Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
Void CallCallback()
Void Fire()
Void FireNextTimers()
‘
System.InvalidOperationException: The property ‘Type’ does not exist on type ‘XenDesktopMonitor.XenDesktopMonitorV2.Hypervisor’. Make sure to only use property names that are defined by the type. —> Microsoft.Data.OData.ODataException: The property ‘Type’ does not exist on type ‘XenDesktopMonitor.XenDesktopMonitorV2.Hypervisor’. Make sure to only use property names that are defined by the type.
at Microsoft.Data.OData.ReaderValidationUtils.ValidateValuePropertyDefined(String propertyName, IEdmStructuredType owningStructuredType, ODataMessageReaderSettings messageReaderSettings, Boolean& ignoreProperty)
at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueDeserializer.ReadPropertiesImplementation(IEdmStructuredType structuredType, ReadOnlyEnumerable`1 properties, DuplicatePropertyNamesChecker duplicatePropertyNamesChecker, Boolean epmPresent)
at Microsoft.Data.OData.Atom.ODataAtomEntryAndFeedDeserializer.ReadAtomContentElement(IODataAtomReaderEntryState entryState)
at Microsoft.Data.OData.Atom.ODataAtomEntryAndFeedDeserializer.ReadAtomElementInEntry(IODataAtomReaderEntryState entryState)
at Microsoft.Data.OData.Atom.ODataAtomEntryAndFeedDeserializer.ReadEntryContent(IODataAtomReaderEntryState entryState)
at Microsoft.Data.OData.Atom.ODataAtomReader.ReadAtNavigationLinkEndImplementation()
at Microsoft.Data.OData.ODataReaderCore.ReadImplementation()
at Microsoft.Data.OData.ODataReaderCore.InterceptExceptionT
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.ReadEntryCore()
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.TryReadFeedOrEntry(Boolean lazy, ODataFeed& feed, MaterializerEntry& entry)
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.ReadNavigationLink()
at System.Data.Services.Client.Materialization.FeedAndEntryMaterializerAdapter.ReadEntryCore()
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.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToListTSource
at XenDesktopMonitor.XenDesktopMonitorProvider.FillMachineData(DatabaseContext db, Dictionary`2& machinesByDeliveryGroup)
at XenDesktopMonitor.XenDesktopMonitorProvider.GetMachineData(DatabaseContext db, XDCollectingSettings dataSettings, Boolean getPublishedApps, PSClasses psClasses)“`
I also tried to fiddle with oData and Linqpad but I am not smart enough to troubleshoot this properly 😀
Continue reading and comment on the thread ‘Troubleshooting EUC Connection in Citrix 2407’. Not a member? Join Here!
Categories: All Archives, ControlUp Real-Time DX