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

Assembly loading issue in GetNextPage GQI data source

Solved97 views2 days ago
0
joel_ joly531 5 days ago 0 Comments

Hello DOJO

I am trying to create an ad Hoc datasource with groups and users.

I encountered an error while implementing:
public GQIPage GetNextPage(GetNextPageInputArgs args)

This declaration :
var securityInfo = Engine.SLNet.SendSingleResponseMessage(new GetInfoMessage(InfoType.SecurityInfo)) as GetUserInfoResponseMessage;
raised this message


I played with nuget package without sucess (Assembly loading issue in GQI data source - DataMiner Dojo)
Is the error located in the declaration of secutityInfo var ?

I already use something similar with success to export groups and users in a csv file.

var securityInfo = engine.SendSLNetSingleResponseMessage(new GetInfoMessage(InfoType.SecurityInfo)) as GetUserInfoResponseMessage;
for the declaration of Variable

joel_ joly Selected answer as best 2 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Pedro Debevere [SLC] [DevOps Enabler]2.58K Posted 5 days ago 1 Comment

Hi Joel, SLManagedAutomation is 32bit whereas the process that executes the ad hoc datasource is 64 bit. (see also ad-hoc datasource assembly load issue).

To retrieve the SLNet connection, you can do the following in the OnInit (IGQIOnInit): var connection = args.DMS.GetConnection();

joel_ joly Edited comment 2 days ago
joel_ joly commented 2 days ago

Thank for the clue Pedro.

I didn't know how to create the oninit and use the args.DMS.getconnection().

But I found this KATA : https://www.youtube.com/watch?v=Wi8pIeSA-uw
that helps me to finilize the code

I replaced :
var request = new GetInfoMessage(InfoType.ClientList);
var reponses = _dms.SendMessages(request).OfType<LoginInfoResponseMessage>();

by
var request = new GetInfoMessage(InfoType.SecurityInfo);
var securityInfos = _dms.SendMessages(request).OfType<GetUserInfoResponseMessage>();

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