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
    • Empower Replay: Limited Edition
    • 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
    • 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
      • System Architecture
      • DataMiner Releases & Updates
    • 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

SLNET Call to Delete Scheduler Task is generating DataMinerCOMException

364 views20th January 2025
3
Daniela Prada [SLC] [DevOps Advocate]456 17th January 2025 0 Comments

Hi community,

We are working with a connector that interacts with DataMiners Scheduler module.

One of the actions performed in the connector is deleting a Task with the SetSchedulerInfoMessage SLNET call as shown in the following image:

We have tested the connector in multiple test environments and the Delete feature works.
But on a production environment we see the following error after the call is sent:

Exception thrown:
(Code: 0x80004005) Skyline.DataMiner.Net.Exceptions.DataMinerCOMException: Unspecified error
—> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.

Does somebody know what this DataMinerCOMException means?

Laurens Moutton [SLC] [DevOps Enabler] Answered question 20th January 2025

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Laurens Moutton [SLC] [DevOps Enabler]8.74K Posted 20th January 2025 2 Comments

Hi,

There are various reasons that could cause the E_FAIL exception.

Possibilities are:

  • SLScheduler has no connection with the SLXML process
  • SLScheduler has no connection with the SLDataMiner process
  • Task ID does not exist
  • Task could not be removed from MS Task Scheduler

Most likely the task ID could not be found and does not exist (value that is past with the ‘Info’ field).

To know the real root cause, the “SLScheduler” log file can be consulted, which will contain the failure reason. Note that the log level needs to be increased to the highest level to log everything, as not all possible reasons will be logged under the default level.

Regards,

Laurens Moutton [SLC] [DevOps Enabler] Edited comment 21st January 2025
Daniela Prada [SLC] [DevOps Advocate] commented 20th January 2025

Hi Laurens,

Thank you for your response.

We validated the issue using the SLScheduler log, and the Task ID is reported as "not existing". We also replicated the SLNET call in the Client Test Tool and encountered the same COM error.

However, we noticed something unusual:

– When we perform an SLNET call to retrieve all available tasks, the task with the ID we’re trying to delete is present in the list, indicating that it does indeed exist.

Additionally, we observed the following behavior:

– When performing the same task deletion in the Client Test Tool but specifying a different DMA agent from the cluster, the deletion succeeded.
– We tested this several more times, but the deletion with other agents doesn’t consistently succeed.

What do you consider should be could be the issue?

Laurens Moutton [SLC] [DevOps Enabler] commented 21st January 2025

A scheduled task gets executed by the Windows Task Scheduler present on the DMA. These task IDs are present under C:/ Skyline DataMiner / Schedule.xml. This is a file that is not synchronized. In other words task ID 1 on DMA A could mean "Execute Provision", task ID 1 on DMA B will be a different task "Send Report", so when asking to delete task 1 and this is requested on a different DMA then a task will be deleted that was not expected. My advise would be to take a look at the Schedule.xml to the <Task id attribute. When comparing the Schedule.xml between the different DMAs in the cluster, the content will be different, which is normal and expected.

0
Arunkrishna Shreeder [SLC] [DevOps Advocate]4.01K Posted 20th January 2025 0 Comments

Hi Daniela,

In regards to what a COMException is, you can read more about in System.Runtime.InteropServices.COMException class – .NET | Microsoft Learn.

As for why it occurs (assuming the test and production environments are in the same version), I suspect a deeper investigation might be needed. Please contact techsupport with a log package taken immediately after simulating the issue once.

Arunkrishna Shreeder [SLC] [DevOps Advocate] Answered question 20th January 2025
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

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs