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

Trigger QAction via remote debugging

Solved1.12K views11th July 2023DIS remote debugging
3
Manuel Wals [DevOps Member]252 25th March 2022 6 Comments

Hi all,

I'm currently looking into setting up remote debugging for our internal development. I already managed to set up the connection to the remote debugger running on our staging system and Visual Studio/DIS is already able to attach to the SLScripting process on the remote DMA. Unfortunately I am getting an error when I try to trigger a QAction via DIS Inject:

Following Output can be found in the DIS - DMAComm Output

2022/03/25 04:54:15.330|> Executing DisTriggerQAction (dmaId: 13002, elementId: 9070, qactionId: 2, triggerPID: 2, rowKey: )
2022/03/25 04:54:15.334|> DataMinerException: (Code: 0x800402DA) Skyline.DataMiner.Net.Exceptions.DataMinerCOMException: An exception has occurred while executing the requested action.
2022/03/25 04:54:15.334|> ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800402DA
2022/03/25 04:54:15.334|>
2022/03/25 04:54:15.335|> Server stack trace:
2022/03/25 04:54:15.335|> at Interop.SLDataMiner.IDataMiner.NotifyDataMiner(String bstrUser, Int32 iType, Object varValue, Object varValue2, Object& pvarReturnValue)
2022/03/25 04:54:15.335|> at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
2022/03/25 04:54:15.335|> at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
2022/03/25 04:54:15.335|>
2022/03/25 04:54:15.335|> Exception rethrown at [0]:
2022/03/25 04:54:15.335|> at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
2022/03/25 04:54:15.335|> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
2022/03/25 04:54:15.335|> at Interop.SLDataMiner.IDataMiner.NotifyDataMiner(String bstrUser, Int32 iType, Object varValue, Object varValue2, Object& pvarReturnValue)
2022/03/25 04:54:15.335|> at Skyline.DataMiner.Net.MessageHandler.HandleSetDataMinerInfo(IConnectionInfo connInfo, SetDataMinerInfoMessage request)
2022/03/25 04:54:15.336|> at Skyline.DataMiner.Net.Facade.HandleClientRequestMessage(IConnectionInfo connInfo, ClientRequestMessage oneMsg, Boolean canQueue)
2022/03/25 04:54:15.338|> at Skyline.DataMiner.Net.Facade.HandleMessageInternal(IConnectionInfo connInfo, DMSMessage oneMsg, Int32 groupID, Int32 groupTotal)
2022/03/25 04:54:15.338|> at Skyline.DataMiner.Net.Facade.HandleMessage(IConnectionInfo connInfo, DMSMessage oneMsg, Int32 groupID, Int32 groupTotal)
2022/03/25 04:54:15.339|> at Skyline.DataMiner.Net.BaseFacade.HandleMessages(IConnectionInfo connInfo, DMSMessage[] msgs)
2022/03/25 04:54:15.339|> at Skyline.DataMiner.Net.Facade.HandleMessage(IConnectionInfo connInfo, DMSMessage oneMsg, Int32 groupID, Int32 groupTotal)
2022/03/25 04:54:15.340|> at Skyline.DataMiner.Net.BaseFacade.HandleMessages(IConnectionInfo connInfo, DMSMessage[] msgs)
2022/03/25 04:54:15.340|> at Skyline.DataMiner.Net.Facade.HandleMessagesForClient(IConnectionInfo connInfo, DMSMessage[] messages)
2022/03/25 04:54:15.342|> at Skyline.DataMiner.Net.Transport.Remoting.InternalHandleMessages(ConnectionToken token, DMSMessage[] inputMessages)
2022/03/25 04:54:15.347|> --- End of inner exception stack trace ---
2022/03/25 04:54:15.348|>
2022/03/25 04:54:15.348|> Server stack trace:
2022/03/25 04:54:15.348|> at Skyline.DataMiner.Net.Transport.Remoting.InternalHandleMessages(ConnectionToken token, DMSMessage[] inputMessages)
2022/03/25 04:54:15.348|> at Skyline.DataMiner.Net.Transport.Remoting.HandleMessages(ConnectionToken token, DMSMessage[] inputMessages)
2022/03/25 04:54:15.348|> at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
2022/03/25 04:54:15.348|> at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
2022/03/25 04:54:15.348|>
2022/03/25 04:54:15.348|> Exception rethrown at [0]:
2022/03/25 04:54:15.348|> at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
2022/03/25 04:54:15.348|> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
2022/03/25 04:54:15.348|> at Skyline.DataMiner.Net.ISLNet.HandleMessages(ConnectionToken token, DMSMessage[] inputMessages)
2022/03/25 04:54:15.348|> at Skyline.DataMiner.Net.RemotingConnection.TransportSpecificHandleMessage(ConnectionToken tok, DMSMessage[] msgs, Int32 timeout)
2022/03/25 04:54:15.348|> at Skyline.DataMiner.Net.Connection.InternalHandlePackedMessages(ConnectionToken tok, DMSMessage[] msgs, Int32 timeout)
2022/03/25 04:54:15.348|> at Skyline.DataMiner.Net.Connection.InternalHandleUnpackedMessages(DMSMessage[] msgs, Int32 timeout)
2022/03/25 04:54:15.348|> at Skyline.DataMiner.Net.Connection.HandleMessages(DMSMessage[] msgs, Int32 timeout)
2022/03/25 04:54:15.348|> at Skyline.DataMiner.Net.Connection.HandleMessage(DMSMessage msg, Int32 timeout)
2022/03/25 04:54:15.348|> at SLDisDMAComm.SLDisDmaCommService.DisTriggerQAction(Int32 dmaId, Int32 elementId, Int32 qactionId, Int32 triggerPID, String rowKey, Object oldValue, Object newValue)
2022/03/25 04:54:15.348|> Finished executing DisTriggerQAction

Any help to find out what I might be missing would be appreciated.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023
Michiel Oda [SLC] [DevOps Enabler] commented 29th March 2022

Hi Manuel

Could you provide us with the DMA version, DIS version, VS version and the protocol you are using? If you are making your own protocol, could you provide use the contents of the QAction tag itself (which holds the attributes). The C# code itself is not needed for now.

Manuel Wals [DevOps Member] commented 29th March 2022

Hi Michiel,

sure please find details below.
DMA Version: Development is done on 10.2.0.0-11517
DIS version: 2.36.1.13
VS version: Microsoft Visual Studio Community 2019 Version 16.4.2
Protocol is an own developed protocol. So this is the QAction tag used:
“QAction id=”2″ name=”After Startup” encoding=”csharp” triggers=”2″>
“

Michiel Oda [SLC] [DevOps Enabler] commented 30th March 2022

Based on the name, this QAction will trigger after the startup of the protocol. When not using DIS Inject, does the QAction run properly?
Is this the first time you use DIS Inject remotely or have you used it before without issues?

Michiel Oda [SLC] [DevOps Enabler] commented 30th March 2022

I could also get the same error when an unhandled exception happened in a QAction. If you didn’t do that yet, try to enclose your code with a try catch and log the exception that way.

Manuel Wals [DevOps Member] commented 30th March 2022

The name of the QAction is misleading. In fact it is triggered by a timer/group every 5 seconds. The QAction itself runs properly without unhandled exception when deployed to the staging agent and the code is already encased in a try catch. It’s the first time I used DIS inject in general. We never got around to set this up properly but I am currently working on an protocol where this would be quite handy to debug it. If it helps I would be also fine to provide the protocol.

Show 1 more comments

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Marlies Vandenberghe [SLC] [DevOps Member]2.97K Posted 23rd November 2022 0 Comments

Hi Manuel,

i noticed this question is now open for a while now. Can you confirm you found a solution?

As Michiel mentioned, you can also reach out to techsupport@skyline.be for a more in depth investigation.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023
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

Alarm Dashboard PDF/CSV Export 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 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 (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) 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