Hey Dojo,
I installed the most recent version of DOM editor 10.5.10.3, and when I wanted to execute the DOM editor script in cube it resolved in the error lower. The latest version we had was 10.4.xx I believe and it worked fine, we even tried to deploy that version again and it works without a problem.
Does this error appear because we created our existing DOMs using the old version of DOM editor and the new one doesn't use some of the older settings or is the problem somewhere else ?
Script Failure (Dom Editor): (after retries) (Code: 0x80040251) Skyline.DataMiner.Net.Exceptions.DataMinerException: No Assembly found for cookie 7
(3585,65): error CS0234: The type or namespace name 'CrudScripts' does not exist in the namespace 'Skyline.DataMiner.Net.Apps.DataMinerObjectModel.Settings' (are you missing an assembly reference?)
(4145,65): error CS0234: The type or namespace name 'CrudScripts' does not exist in the namespace 'Skyline.DataMiner.Net.Apps.DataMinerObjectModel.Settings' (are you missing an assembly reference?)
(3605,15): error CS0246: The type or namespace name 'IDomCrudScriptTriggerCondition' could not be found (are you missing a using directive or an assembly reference?)
(6534,10): warning CS0618: 'Time' is obsolete: 'Use TimeSpanP'
(4949,11): error CS0118: 'DomInstanceNetworkAttachmentSettings' is a namespace but is used like a type
(9040,10): warning CS0618: 'Time' is obsolete: 'Use TimeSpanP'
(9042,10): warning CS0618: 'Time' is obsolete: 'Use TimeSpanP'
(9044,10): warning CS0618: 'Time' is obsolete: 'Use TimeSpanP'
(3870,51): warning CS0618: 'DomDefinition.VisualStructure' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app. Will be removed in a later version.'
(3870,51): warning CS0618: 'DomDefinitionVisualStructure.SectionDefinitionInfos' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app.'
(3876,6): warning CS0618: 'DomDefinition.VisualStructure' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app. Will be removed in a later version.'
(3876,6): warning CS0618: 'DomDefinitionVisualStructure.SectionDefinitionInfos' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app.'
(3899,4): warning CS0618: 'DomDefinition.VisualStructure' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app. Will be removed in a later version.'
(3899,36): warning CS0618: 'DomDefinition.VisualStructure' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app. Will be removed in a later version.'
(3899,73): warning CS0618: 'DomDefinitionVisualStructure' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app.'
(3899,69): warning CS0612: 'DomDefinitionVisualStructure.DomDefinitionVisualStructure()' is obsolete
(3910,5): warning CS0618: 'DomDefinition.VisualStructure' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app. Will be removed in a later version.'
(3910,27): warning CS0618: 'DomDefinitionVisualStructure' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app.'
(3910,23): warning CS0612: 'DomDefinitionVisualStructure.DomDefinitionVisualStructure()' is obsolete
(3955,4): warning CS0618: 'DomDefinition.VisualStructure' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app. Will be removed in a later version.'
(3955,4): warning CS0618: 'DomDefinitionVisualStructure.SectionDefinitionInfos' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app.'
(3955,59): warning CS0618: 'DomDefinition.VisualStructure' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app. Will be removed in a later version.'
(3955,59): warning CS0618: 'DomDefinitionVisualStructure.SectionDefinitionInfos' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app.'
(6534,43): warning CS0618: 'Time' is obsolete: 'Use TimeSpanP'
(3963,43): warning CS0618: 'DomDefinition.VisualStructure' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app. Will be removed in a later version.'
(3963,43): warning CS0618: 'DomDefinitionVisualStructure.SectionDefinitionInfos' is obsolete: 'Not applicable to DOM anymore. Visual settings should be configured on the app.'
(5470,9): warning CS0618: 'CheckBoxList.Checked' is obsolete: 'Use CheckedOptions instead.'
(4174,56): error CS0246: The type or namespace name 'IDomCrudScriptTriggerCondition' could not be found (are you missing a using directive or an assembly reference?)
(4187,62): error CS1061: 'ExecuteScriptOnDomInstanceActionSettings' does not contain a definition for 'OnUpdateTriggerConditions' and no accessible extension method 'OnUpdateTriggerConditions' accepting a first argument of type 'ExecuteScriptOnDomInstanceActionSettings' could be found (are you missing a using directive or an assembly reference?)
(4207,64): error CS1061: 'ExecuteScriptOnDomInstanceActionSettings' does not contain a definition for 'OnUpdateTriggerConditions' and no accessible extension method 'OnUpdateTriggerConditions' accepting a first argument of type 'ExecuteScriptOnDomInstanceActionSettings' could be found (are you missing a using directive or an assembly reference?)
(9040,42): warning CS0618: 'Time' is obsolete: 'Use TimeSpanP'
(9042,41): warning CS0618: 'Time' is obsolete: 'Use TimeSpanP'
(9044,42): warning CS0618: 'Time' is obsolete: 'Use TimeSpanP'
(4697,9): warning CS0618: 'CheckBoxList.Checked' is obsolete: 'Use CheckedOptions instead.'
(4705,23): warning CS0618: 'CheckBoxList.Checked' is obsolete: 'Use CheckedOptions instead.'
(1443,57): error CS1061: 'DomManagerSecuritySettings' does not contain a definition for 'LinkSecurity' and no accessible extension method 'LinkSecurity' accepting a first argument of type 'DomManagerSecuritySettings' could be found (are you missing a using directive or an assembly reference?)
(4962,67): error CS1061: 'DomManagerSettings' does not contain a definition for 'DomInstanceNetworkAttachmentSettings' and no accessible extension method 'DomInstanceNetworkAttachmentSettings' accepting a first argument of type 'DomManagerSettings' could be found (are you missing a using directive or an assembly reference?)
(4970,57): error CS1061: 'DomManagerSettings' does not contain a definition for 'DomInstanceNetworkAttachmentSettings' and no accessible extension method 'DomInstanceNetworkAttachmentSettings' accepting a first argument of type 'DomManagerSettings' could be found (are you missing a using directive or an assembly reference?)
(4974,69): error CS1061: 'DomManagerSettings' does not contain a definition for 'DomInstanceNetworkAttachmentSettings' and no accessible extension method 'DomInstanceNetworkAttachmentSettings' accepting a first argument of type 'DomManagerSettings' could be found (are you missing a using directive or an assembly reference?)
(4976,53): error CS1061: 'DomManagerSettings' does not contain a definition for 'DomInstanceNetworkAttachmentSettings' and no accessible extension method 'DomInstanceNetworkAttachmentSettings' accepting a first argument of type 'DomManagerSettings' could be found (are you missing a using directive or an assembly reference?)
(3632,22): error CS0246: The type or namespace name 'FieldValueUpdatedTriggerCondition' could not be found (are you missing a using directive or an assembly reference?)
(3713,11): error CS0246: The type or namespace name 'FieldValueUpdatedTriggerCondition' could not be found (are you missing a using directive or an assembly reference?)
(3714,7): warning CS0162: Unreachable code detected
(4993,68): error CS1061: 'DomManagerSettings' does not contain a definition for 'DomInstanceNetworkAttachmentSettings' and no accessible extension method 'DomInstanceNetworkAttachmentSettings' accepting a first argument of type 'DomManagerSettings' could be found (are you missing a using directive or an assembly reference?)
(5006,39): error CS1061: 'DomManagerSettings' does not contain a definition for 'DomInstanceNetworkAttachmentSettings' and no accessible extension method 'DomInstanceNetworkAttachmentSettings' accepting a first argument of type 'DomManagerSettings' could be found (are you missing a using directive or an assembly reference?)
(5006,82): error CS0118: 'DomInstanceNetworkAttachmentSettings' is a namespace but is used like a type
(5010,38): error CS1061: 'DomManagerSettings' does not contain a definition for 'DomInstanceNetworkAttachmentSettings' and no accessible extension method 'DomInstanceNetworkAttachmentSettings' accepting a first argument of type 'DomManagerSettings' could be found (are you missing a using directive or an assembly reference?)
(5010,81): error CS0118: 'DomInstanceNetworkAttachmentSettings' is a namespace but is used like a type
(3753,29): error CS0246: The type or namespace name 'FieldValueUpdatedTriggerCondition' could not be found (are you missing a using directive or an assembly reference?)
(3806,23): error CS0246: The type or namespace name 'FieldValueUpdatedTriggerCondition' could not be found (are you missing a using directive or an assembly reference?)
(527,102): error CS1061: 'ExecuteScriptOnDomInstanceActionSettings' does not contain a definition for 'OnUpdateTriggerConditions' and no accessible extension method 'OnUpdateTriggerConditions' accepting a first argument of type 'ExecuteScriptOnDomInstanceActionSettings' could be found (are you missing a using directive or an assembly reference?)
(5315,73): error CS0117: 'DomInstanceError.Reason' does not contain a definition for 'NoPermission'
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)
Hi Matej,
I believe this version of the DOM editor is compatible with DataMiner 10.5.10. If you’re deploying it on an older version, it likely won’t be compatible.
Which DataMiner version are you using?
Hi Matej, the compilation errors are indeed caused by a version mismatch. The version of the DOM editor script reflects the minimum DataMiner version needed. In your case, the 10.5.10 & 10.5.3 editor versions are too new, resulting in compilation errors due to features that do not exist yet on your DataMiner agent. The latest script version that is supported in your case will be the 10.4.4 from March the 27th. Can you try to deploy that one?
Hi Thomas, we did that and that version works. Thanks everyone for the help.
Hi Sebastiaan,
Thanks for the quick reaction. We are currently at 10.5.0.0-CU7, so I guess that is the problem. I also tried this with the 10.5.3 to the same result so I guess with Cumulative Updates it is always safest to stay one version lower of the main release.