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
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Tutorials
    • 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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about 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)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Method not found – IDmsElement

Solved195 views29th January 2026#automationscripts method not found
6
Andrea Ivkovic [SLC] [DevOps Advocate]356 28th January 2026 0 Comments

Hi Dojo Community,

I am experiencing issues while running a profile load script that sends InterApp messages to the driver. I encounter the following exception:
System.MissingMethodException: Method not found: 'Skyline.DataMiner.Core.DataMinerSystem.Common.IDmsElement Skyline.DataMiner.Core.DataMinerSystem.Common.IDms.GetElementReference(Skyline.DataMiner.Core.DataMinerSystem.Common.DmsElementId)'.
at Skyline.DataMiner.Core.InterAppCalls.Common.InterAppCommunication.Send(IConnection connection, Int32 agentId, Int32 elementId, Int32 parameterId, String value)
at Skyline.DataMiner.Core.InterAppCalls.Common.CallBulk.InterAppCall.Send(IConnection connection, Int32 agentId, Int32 elementId, Int32 parameterId, ISerializer serializer)
at Skyline.DataMiner.Core.InterAppCalls.Common.CallBulk.InterAppCall.Send(IConnection connection, Int32 agentId, Int32 elementId, Int32 parameterId, IEnumerable`1 knownTypes)

My script references, among others, the following DLLs:
C:\Skyline DataMiner\ProtocolScripts\DllImport\skyline.dataminer.core.dataminersystem.common\1.1.2.2\lib\net462\Skyline.DataMiner.Core.DataMinerSystem.Common.dll
C:\Skyline DataMiner\ProtocolScripts\DllImport\skyline.dataminer.core.interappcalls.common\1.1.0.1\lib\net462\Skyline.DataMiner.Core.InterAppCalls.Common.dll

This script works as expected in our staging environment, but not in production. All DLL versions and configurations are identical between both environments.

Has anyone encountered a similar issue or knows what might be causing this? Any insights or suggestions would be greatly appreciated.

Andrea Ivkovic [SLC] [DevOps Advocate] Selected answer as best 29th January 2026

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Pedro Debevere [SLC] [DevOps Enabler]2.67K Posted 29th January 2026 1 Comment

Hi Andrea,

After inspecting the scripts and a memory dump of SLAutomation, this script has no issues but it got impacted by another script.

TL;DR: When referencing a NuGet package in an Automation script (either directly or through a transitive dependency), make sure the script does not reference multiple versions of that NuGet. (for more information, refer to Assembly binding Automation scripts).

Otherwise, issues could occur either with that script itself or it could impact the behavior of other scripts.

In this case, the latter happened. Another script was referencing (indirectly) multiple versions of the class library (1.1.3.6 and 1.1.2.2, which is also referenced in the script that experienced the issue).

From the dump I can see that version 1.1.2.2 was not loaded into the AppDomain, which means it could not resolve it when it was needed at run-time. It will have performed a fallback to another version of that assembly. The dump shows that the version it will have loaded instead was version 1.1.1.9. However, that version does not yet contain the GetElementReference method (as this got introduced in version 1.1.2.1), which explains why it threw a MissingMethodException.

To resolve the issue, the script that references multiple versions of class library should be updated so all direct and indirect references point to the same version.

Andrea Ivkovic [SLC] [DevOps Advocate] Posted new comment 29th January 2026
Andrea Ivkovic [SLC] [DevOps Advocate] commented 29th January 2026

Hi Pedro,
Thank you for investigating and for the help. It is much appreciated.

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
Privacy Policy • Terms & Conditions • Contact

© 2026 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