Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

System.MissingMethodException after uploading automation script with new NuGet versions

Solved922 views7th December 2023Automation NuGet
3
Jason Pitteman [SLC] [DevOps Member]556 7th December 2023 0 Comments

Hi,

We've updated the NuGet in an automation script to a newer version and saved it as a compiled script in order to be sure that all dependencies will be uploaded to the DataMiner system.

When installing the script via the DataMiner Application Package we can see that everything is uploaded correctly and hitting the validate button results in 0 errors. However, when we try to run the script it throws System.MissingMethodExceptions.

The solution was to restart the SLAutomation process. Since we were using a staging environment this didn't really have an impact. However, we will have to deploy it to production some day and restarting the SLAutomation process in not desired since it could impact other components such as SRM.

Would there be an alternative? Or is this a known issue?

Server version : 10.3.8.0-13183
Client version : 10.3.2325.2012-78ede0fb
Launcher version : 10.3.2324.534-f6dadc78

Thanks in advance.

Kind regards,

Jason Pitteman [SLC] [DevOps Member] Selected answer as best 7th December 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Pedro Debevere [SLC] [DevOps Enabler]1.80K Posted 7th December 2023 1 Comment

After investigation, this is a combination of factors.

First, the NuGet 'A' that was referenced in the Automation script had a dependency on another NuGet package 'X'. However, another version of NuGet 'X' was also referenced in the Automation script. If you expose types from 'X' in NuGet 'A' (e.g. by providing a method that e.g. has as argument a type from 'X', then you can have the mentioned exception if the versions differ. More information can be found here.

Second, the fact that it worked after a DataMiner restart was due to the way default install script is currently implemented. A task has been created to update this behavior: https://collaboration.dataminer.services/task/227329.

Jason Pitteman [SLC] [DevOps Member] Selected answer as best 7th December 2023
Jason Pitteman [SLC] [DevOps Member] commented 7th December 2023

Thanks for the intense investigation.

1
João Severino [SLC] [DevOps Catalyst]12.94K Posted 7th December 2023 6 Comments

Hi Jason,

I believe this relates to an issue we have encountered in the past where sometimes DataMiner is still linking and holding onto the old NuGet version. When you update everything validates fine but when executing it fails.

We have been working on a permanent fix, however, there is currently none and the workarounds consist of either restarting DataMiner (as you mentioned) or making sure that when you upload the new versions no other scripts are still pointing to the old version.

Feel free to get in touch if you need assistance with this issue @ support.data-acquisition@skyline.be.

Jason Pitteman [SLC] [DevOps Member] Posted new comment 7th December 2023
Jason Pitteman [SLC] [DevOps Member] commented 7th December 2023

Hi Joao,

In our case the script was using version 1.0.8-pre and we created a 1.0.8 version of that NuGet. So it’s dll name but they are not really the same as they are stored in 2 different folders.

Kind regards,

João Severino [SLC] [DevOps Catalyst] commented 7th December 2023

Although they could be in different folders when the code gets loaded into the process memory it is referenced by its assembly name and the full path becomes “secundary”. (see DCP203165)

Jason Pitteman [SLC] [DevOps Member] commented 7th December 2023

The task (DCP203165) you’re referring to states that you could have duplicate assemblies loaded.
However version 1.0.8-pre and 1.0.8 are exactly the same so I assume it should be able to find that method since it was already there in version 1.0.8-pre.
Could it be that we are facing 2 different problems related to the same component/module?

João Severino [SLC] [DevOps Catalyst] commented 7th December 2023

It could be that the issue you are experiencing is not the same, but I still believe it could be related to the task I linked.
In the linked task, the issue is due to multiple versions being loaded into memory, and then when it comes time to select which one to use for the specific automation or connector it may not choose the correct one.

João Severino [SLC] [DevOps Catalyst] commented 7th December 2023

But probably the best is to reach out to our TechSupport team and DataAcquisition to investigate if the issues are related or a different thing we have not encountered before

Show 1 more comments
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

DOM Definition relations returned in Definition query 0 Answers | 0 Votes
Alarm Dashboard PDF/CSV Export 1 Answer | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin