Hi,
I am building an application that interacts with a spectrum analyzer.
I am using another app (Vodafone Carrier Monitoring Manager) as a reference and I am using this method to save a preset (SavePreset).
In the tests on my local DMA, it works as expected and it is OK, but on another DMA (using 10.0.11.0-9535), I am getting this exception:
System.Runtime.InteropServices.COMException (0x8004028A): Exception from HRESULT: 0x8004028A
at Interop.SLSpectrum.SpectrumAnalyzerClass.NotifyElementEx(String bstrUser, Int32 iDataMinerId, Int32 iElementId, Int32 iMessageType, Int32 iMessageSubType, Object var1, Object var2, Object& pvarOut)
at Skyline.DataMiner.Spectrum.SLSpectrumExtensions.SavePreset(SLProtocol protocol, ElementInfo elementInfo, PresetData preset, CarrierTableRow carrier)
at MDACarrierMonitoringManagerProtocol.CarrierTableRow.CreateCarrier(SLProtocolExt protocol, ElementInfo elementInfo, MeasurementPointInfo measurementPoint, String oldPresetName)
It seems related with this Microsoft error code: https://www.hresult.info/FACILITY_ITF/0x8004028A
But I don´t know what exactly the issue is and how to resolve it.
Can someone help me with this?
Thanks.
Error 0x8004028A is an error defined by the DataMiner system itself, not by Microsoft (All errors between 0x80040200 and 0x8004FFFF are defined by DataMiner, an overview can be found Here). This particular exception means SL_UNKNOWN_CLIENT, in other words SLSpectrum has no idea who is trying to request the info. This is influenced by the bstrUser parameter passed to the NotifyElementEx.
From 10.0.10 onwards we changed the internal skyline GUID for safety reason. This means that the GUID you pulled from the Vodafone Carrier Monitoring Manager will not work, and results in the error you see.
The lightning squad might be able to assist you on how to implement this without the need of this ID
Thanks Brent.