Hi All,
I have a script that Initializes the DMS object. IDms dms = engine.GetDms(); A requirement for this is the Skyline.DataMiner.Core.DataMinerSystem.Automation namespace library. DataMinerSystem.Common is installed automatically as a dependency.
Code in Visual looks good without any errors. When I load into cube and run validate I get 4 errors and get no assembly found when script is run. I've tried different versions for DataMinerSystem.Automation & tried two systems (Prod & LAB), So I must be doing something wrong?
Thanks.
Dave
Hi David,
Can I ask you how you uploaded the automation script?
- Did you upload it as a package? -> This is the way to go.
- Did you copy pasted the code into the box? -> Try to avoid this, as the necessary dependencies will not be copy pasted over to the system.
- Did you publish it via Visual studio? -> This is good testing method.
Can you verify if you have the correct version of the libraries located in your DataMiner folder:
...\Skyline DataMiner\ProtocolScripts\DllImport\skyline.dataminer.core.dataminersystem.automation\[version used in the script]\lib
If this is the case, did you prior to this deployed any script with a different ( mainly older version) than the version included in this script?