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

“Interactive UI can only be used in interactive mode” error message when IAS Toolkit

Solved5.76K views9th May 2023Automation IAS interactive automation script
3
Manuel Wals [DevOps Member]252 9th May 2023 1 Comment

Hi all,

i wanted to try to create an interactive automation script using the IAS Toolkit. Unfortunately i ran into an issue where i get the following error when executing the script:

Script ‘SES CAS Canal Plus Report Email’ failed:

The following was returned from the script:
Interactive UI can only be used when running in interactive mode.
EXIT: “Something went wrong: (Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Show UI Failed: 0x800402F5 (Interactive UI can only be used in interactive mode.
)
at Skyline.DataMiner.Automation.Engine.ShowUI(String uiData, Boolean requireResponse)
at Skyline.DataMiner.Automation.Engine.ShowUI(UIBuilder uiBuilder)
at Skyline.DataMiner.Utils.InteractiveAutomationScript.InteractiveController.Run(Dialog startDialog)
at Script.Run(Engine engine)”
Exception :
Interactive UI can only be used when running in interactive mode.
EXIT: “Something went wrong: (Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Show UI Failed: 0x800402F5 (Interactive UI can only be used in interactive mode.
)
at Skyline.DataMiner.Automation.Engine.ShowUI(String uiData, Boolean requireResponse)
at Skyline.DataMiner.Automation.Engine.ShowUI(UIBuilder uiBuilder)
at Skyline.DataMiner.Utils.InteractiveAutomationScript.InteractiveController.Run(Dialog startDialog)
at Script.Run(Engine engine)”


To make sure i did not make any mistakes i also tried the exact example used in the documentation: Getting started with the IAS Toolkit | DataMiner Docs


But with that example Dataminer is still showing the same error message:

Would really appreciate any input on this.

Thanks in advance!

Thomas Cauwelier [SLC] [DevOps Advocate] Posted new comment 9th May 2023
Thomas Cauwelier [SLC] [DevOps Advocate] commented 9th May 2023

I have created a pull request to add the workaround to the examples:
https://github.com/SkylineCommunications/dataminer-docs/pull/1443
It will be added as soon as our technical writing team had a chance to review it.

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
7
Thomas Cauwelier [SLC] [DevOps Advocate]1.50K Posted 9th May 2023 1 Comment

Hi Manuel,

This is a known issue.
DataMiner looks for “engine.ShowUI” in the source code of the script to determine if the script needs to be launched in interactive mode.
Now that the IASToolkit has become a NuGet, DataMiner can no longer find that line in the source code.

As a workaround, you can add the following comment anywhere in your script C# code

// DO NOT REMOVE THIS COMMENTED OUT CODE OR THE SCRIPT WONT RUN!
// DataMiner evaluates if the script needs to launch in interactive mode.
// This is determined by a simple string search looking for “engine.ShowUI” in the source code.
// However, due to the toolkit nuget package, this string cannot be found here.
// So this comment is here as a workaround.
//// engine.ShowUI();

I will update the docs to include this comment in the example.

Manuel Wals [DevOps Member] Selected answer as best 9th May 2023
Manuel Wals [DevOps Member] commented 9th May 2023

Would be really great to add it to the documentation to avoid that others run into the same issue.

4
Matthijs Favorel [SLC] [DevOps Advocate]1.97K Posted 9th May 2023 1 Comment

Hi Manuel,

DataMiner is trying to automatically determine if the script should be an interactive script or not. This is done by searching for “engine.ShowUI”.

This would normally be in the code, but with the toolkit, this code is hidden inside the nuget.

Can you try adding this as a comment somewhere in your script:
//engine.ShowUI();

Manuel Wals [DevOps Member] Posted new comment 9th May 2023
Manuel Wals [DevOps Member] commented 9th May 2023

Many thanks for you quick response!!! With the additional comment it is working.

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