Dear community,
I installed a new DMA and added it to an existing DMS Cluster (running 10.1.12). After initial syncing, I added the first elements (HP ilo) on the new DMA but I see the below errors in the element log. Looks like the DMA is missing some references. May some files are not correctly sync'ed within the DMS yet?
Any clue what is missing and how to fix?
Thanks,
Koen.
(15,8): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
(2418,8): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
(7016,8): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
(2935,7): error CS0246: The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
(2935,7): error CS0246: The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
(2942,7): error CS0246: The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
...
(136,109): error CS0103: The name 'Constants' does not exist in the current context
(136,132): error CS0103: The name 'Constants' does not exist in the current context
2023/09/12 21:13:29.959|SLManagedScripting.exe|ManagedInterop|ERR|-1|10|No CodeBuilder found (element 7616/2 trigger 102 cookie 0)
2023/09/12 21:13:29.959|SLProtocol - 14144 - TS40G-VOS-EXP-Clus09-Ctr01 iLO|20504|CQAction::Run|ERR|-1|QAction [2000] triggered by [pid=102/idx=-1/pk=/user=] failed. (0x80040221)
Input: new = <NULL>
Input: old = <NULL>
Input: extra = <NULL>
2023/09/12 21:13:30.853|SLProtocol - 14144 - TS40G-VOS-EXP-Clus09-Ctr01 iLO|18556|CManagedScript::Load|ERR|-1|Compilation failed for QAction 1000
(6,7): error CS0246: The type or namespace name 'HPILOGen10' could not be found (are you missing a using directive or an assembly reference?)
(7,7): error CS0246: The type or namespace name 'HPILOGen10' could not be found (are you missing a using directive or an assembly reference?)
In DataMiner 10.3.8, a fix was done so that the ProtocolScripts\DllImport folder will also be synced when an Agent joins the cluster (see this release note).
Like Tom mentions, you'll need to put the assemblies used by the connector on the Agent as these will not have been synced.
Hi Koen, it looks like some DLLs are missing in the "C:\Skyline DataMiner\ProtocolScripts\" folder. The Newtonsoft and Json* types require the Newtonsoft.Json.dll file. If NuGet packages were used in one of the QActions, they should be available in the "C:\Skyline DataMiner\ProtocolScripts\DllImport\newtonsoft.json\" folder.
The other namespaces look more like a custom DLL that is missing. You can identify which assemblies are required by searching for 'dllImport' in the protocol.