I observed intermittent errors when running automation script in the lab that is used to prepare a DMA for repeated testing:
2026/02/18 15:52:34.350|SLManagedScripting.exe|ManagedInterop|ERR|-1|8496|38|Exception during execution:
Parameters: VT_ARRAY|VT_VARIANT (7)
0 VT_I4 : 204
1 VT_I4 : 127902
2 VT_I4 : 11
3 VT_BSTR : Kia NPC Manager - Location
4 VT_BSTR : ...
RowInfo: VT_EMPTY .
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: There is an error in XML document (1, 35021). ---> System.OverflowException: Value was either too large or too small for an Int32.
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderViews.Read5_XmlView(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderViews.Read6_Views(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderViews.Read7_Views()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at ViewsXmlEditing.ViewsXmlHelper.Deserialize[T](String input)
at ViewsXmlEditing.ViewsXmlHelper.Read(String fullPath)
at ViewsXmlEditing.ViewsXmlHelper.LoadXmlViews()
at ViewsXmlEditing.ViewsXmlHelper..ctor(SLProtocol protocol)
at Skyline.Protocol.Handlers.ViewsManagerHandler.CreateViews(SLProtocol protocol)
at Skyline.Protocol.Handlers.ViewsManagerHandler.Process(SLProtocolExt protocol)
at QAction.Run(SLProtocolExt protocol)
--- 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.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at CManagedScript.Run(Int32 iDmaId, Int32 iEid, Int32 trigger, Int32 iCookie, ILog* pILog, IProtocol* pProtocol, tagVARIANT* varParameters, tagVARIANT* varRowInfo, tagVARIANT* pvarReturn)
InnerException:
System.InvalidOperationException: There is an error in XML document (1, 35021). ---> System.OverflowException: Value was either too large or too small for an Int32.
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderViews.Read5_XmlView(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderViews.Read6_Views(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderViews.Read7_Views()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at ViewsXmlEditing.ViewsXmlHelper.Deserialize[T](String input)
at ViewsXmlEditing.ViewsXmlHelper.Read(String fullPath)
at ViewsXmlEditing.ViewsXmlHelper.LoadXmlViews()
at ViewsXmlEditing.ViewsXmlHelper..ctor(SLProtocol protocol)
at Skyline.Protocol.Handlers.ViewsManagerHandler.CreateViews(SLProtocol protocol)
at Skyline.Protocol.Handlers.ViewsManagerHandler.Process(SLProtocolExt protocol)
at QAction.Run(SLProtocolExt protocol) (element 127902/11 trigger 204 cookie 110)
Script Failure (KOR_SRM_FullCleanProvisioning): System.InvalidOperationException: There is an error in XML document (1, 35049). ---> System.OverflowException: Value was either too large or too small for an Int32.
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderViews.Read5_XmlView(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderViews.Read6_Views(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderViews.Read7_Views()
--- End of inner exception stack trace ---
at CManagedAutomation.RunWrapped(CManagedAutomation* , Int32 iCookie, IUnknown* pIAutomation, tagVARIANT* varParameters, tagVARIANT* pvarReturn, String scriptName)
at CManagedAutomation.Run(CManagedAutomation* , Int32 iCookie, Char* bstrScriptName, IUnknown* pIAutomation, tagVARIANT* varParameters, tagVARIANT* varEntryPoint, tagVARIANT* pvarReturn, tagVARIANT* pvarEntryPointResult) (CSharp; 0x80004005h): (see comment for more details)
Likely due to the following line:

Seems to happen when I manually move view using drag and drop editing from being nested to root?
The value is 2^32-1 which is more than signed Int32 max value.
Is this a software issue ? Are there any fixes available ?
Hi,
This indeed seems to be a software issue that can be reproduced with DataMiner Cube when enabling "drag and drop editing" and dragging the view to the root view.
I would suggest to create a support ticket for this.
I tested it out and did not find a possibility to recover from it. As the screenshot shows that there are only two elements in that view, I would suggest to delete the view, create a new view with the same name and then add the elements again to that view.
Regards,
The value 4294967295 is simply -1 interpreted as a signed 32‑bit integer.
Due to a bug, the value is being written and displayed in Views.xml as an unsigned 32‑bit integer, which is why it appears as that large number instead of -1.
As Laurens mentioned, this error should be reported to our support.