Hi Dojo Community,
I have a quick question as I am trying to use the MessageBox in a script I am working on and have ran into this issue with it:
SLAutomation.exe 10.3.2243.4394|18748|15056|CSharp|DBG|5|(Script Event_Streaming/1) Extended Error Info:
(Code: 0x80131500) Skyline.DataMiner.Automation.ScriptAbortException: Whoopsy System.TypeLoadException: Der Typ "Text" in der Assembly "SLManagedAutomation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" konnte nicht geladen werden.
bei Skyline.DataMiner.Utils.InteractiveAutomationScript.Label.StyleToUiString(TextStyle textStyle)
Now I had this issue before when trying to create a label myself so I avoided using the labels in Dialogs.
Here is also the code for the MessageBox:
controller.Engine.Log("Entering the else condition");
MessageDialog exceptionDialog = new MessageDialog(controller.Engine, "Ip Address is invalid please type in a new one");
exceptionDialog.Show(true);
Thank you so much in advance
no still is the same problem
Hi Amer,
I would need to see the visual studio solution to find what else could be causing the problem.
Would it be possible to put the solution on github and share the link?
Or if it contains secrets, put a stripped down version on github.
If this is not possible, I suggest contacting techsupport@skyline.be so we can help you through that channel.
Hi Amer,
As this problem is too complex to solve it here on the forum, I will now close this question. As Thomas suggested, if you cannot share the solution with him on GitHub, feel free to contact techsupport@skyline.be so they can assist you.
Hi Amer,
Can you check if the correct toolkit version gets uploaded to DataMiner?
Also, make sure that there is no toolkit dll file in the "C:\Skyline DataMiner\Files" folder
When in the Files folder, it will override all other references to it.
Checked both and they are ok but still the same issue
Try putting the same 4.0.0 version on all automation scripts and restart DataMiner.
tried that as well same issue, since I started working with the dialogs Labels never worked for me
Hi Amer,
I see that this question has been inactive for some time now. Have you found a solution for this yet? If not, feel free to contact techsupport@skyline.be for assistance.