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
    • 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
    • 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
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

DataMinerSecurityException

Solved647 views30th September 2024
2
Ross Elliott [DevOps Advocate]819 2nd July 2024 4 Comments

Hi,

I've moved a script from staging to production but when I run it I get the following error on my prod system,

Script Failure (OSS Visio Reporting): (Code: 0x800402EB) Skyline.DataMiner.Net.Exceptions.DataMinerSecurityException: No such remote connection (ec0d786b11). Retried.

I'm using engine.GetDms(); but I have that working in other scripts.

I create a directory if it doesn't exist in "C:\\Skyline DataMiner\\Documents\\ but again, I've done this before without issue.

I also use the below which sends an SLNetMessage...

private static ViewInfoEventMessage GetVisioFileName(IEngine engine, IDmsView view)
{
var request = new GetInfoMessage(InfoType.ViewInfo);
var responses = engine.SendSLNetMessage(request).OfType<ViewInfoEventMessage>();

var viewInfo = responses?.FirstOrDefault(r => r.ID == view.Id);

return viewInfo;
}

I don't think there's anything else in there that would cause this error, is there a way I can prove what the error is exactly and work around it?

Full error below...

Script Failure (OSS Visio Reporting): (Code: 0x800402EB) Skyline.DataMiner.Net.Exceptions.DataMinerSecurityException: No such remote connection (ec0d786b11). Retried.

Server stack trace:
at Skyline.DataMiner.Net.Facade.HandleImpersonateMessage(IConnectionInfo originalConnInfo, ImpersonateMessage im)
at Skyline.DataMiner.Net.Facade.HandleMessageInternal(IConnectionInfo connInfo, DMSMessage oneMsg, Int32 groupID, Int32 groupTotal)
at Skyline.DataMiner.Net.Facade.HandleMessage(IConnectionInfo connInfo, DMSMessage oneMsg, Int32 groupID, Int32 groupTotal)
at Skyline.DataMiner.Net.BaseFacade.HandleMessages(IConnectionInfo connInfo, DMSMessage[] msgs)
at Skyline.DataMiner.Net.Facade.HandleMessagesForClient(IConnectionInfo connInfo, DMSMessage[] messages)
at Skyline.DataMiner.Net.Transport.Remoting.InternalHandleMessages(ConnectionToken token, DMSMessage[] inputMessages)
at Skyline.DataMiner.Net.Transport.Remoting.HandleMessages(ConnectionToken token, DMSMessage[] inputMessages)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
at CManagedAutomation.RunWrapped(CManagedAutomation* , Int32 iCookie, IUnknown* pIAutomation, tagVARIANT* varParameters, tagVARIANT* pvarReturn, String scriptName)
at CManagedAutomation.Run(CManagedAutomation* , Int32 iCookie, Char* bstrScriptName, IUnknown* pIAutomation, tagVARIANT* varParameters, tagVARIANT* varEntryPoint, tagVARIANT* pvarReturn) (CSharp; 0x800402ebh): (see comment for more details)

Thanks!

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 30th September 2024
Tom Waterbley [SLC] [DevOps Catalyst] commented 3rd July 2024

Hi Ross, the code looks fine at first sight. How is the script being executed (which user)? Is it possible that user doesn’t have access to that view?

Ross Elliott [DevOps Advocate] commented 4th July 2024

Hi, at the moment it’s just me that’s running the script and I’m in the admin group so not sure what else could be stopping it from running.

Marieke Goethals [SLC] [DevOps Catalyst] commented 28th August 2024

Hi Ross,
I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer (using the ✓ icon) to indicate that the question is resolved?

Marieke Goethals [SLC] [DevOps Catalyst] commented 30th September 2024

As this question has now been inactive for a long time, I will close it. If you still want more information about this, could you post a new question?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Davy Degrande [SLC] [DevOps Advocate]1.43K Posted 10th July 2024 0 Comments

Hello Ross,

This is an exception thrown by our SLNet process trying to handle the impersonation of you executing the script.

This exception occurs when SLNet doesn't know who to impersonate (in this case your Cube session you are running it in).

Do you have issues in the DMS where sometimes DMA Agents disconnect from each other or Cube sessions automatically reconnect.

Similar to what Tom said I do not believe there is a problem with the script, but rather some connectivity issues in the DMS itself. It might be worth starting an investigation to get to the bottom of this.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 30th September 2024
You are viewing 1 out of 1 answers, click here to view all answers.
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

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