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

Access not allowed exception on script execution

Solved379 views27th April 2025
2
JESUS PEREZ-ARANDA86 13th December 2024 1 Comment

hi, I’m getting this exception when trying to execute an script

exception : Access not allowed.(Code: 0x80070005) Skyline.DataMiner.Net.Exceptions.DataMinerSecurityException: Access not allowed.

The function that fails is this:

private static string GetServiceElementParameter(Engine engine, int dmaID, int serviceID, int parameterID)
{

try
{
GetParameterMessage serviceParameter = new GetParameterMessage(dmaID, serviceID, parameterID);

GetParameterResponseMessage parameterMessage = engine.SendSLNetSingleResponseMessage(new GetParameterMessage(dmaID, serviceID, parameterID)) as GetParameterResponseMessage;

if (!string.IsNullOrEmpty(serviceParameter_response.DisplayValue))
{
string paramValue = serviceParameter_response.DisplayValue;
return paramValue;
}

return null;

}
catch (Exception ex)
{
engine.GenerateInformation(“exception : ” + ex.Message +ex );

return null;
}
}

This is the line that throws the exception. I think it must a stupid error but I’m new at this

thanks

Arunkrishna Shreeder [SLC] [DevOps Advocate] Selected answer as best 27th April 2025
Michiel Saelen [SLC] [DevOps Enabler] commented 16th December 2024

Can you have a look if the user executing the script has access to the parameter/service?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Arunkrishna Shreeder [SLC] [DevOps Advocate]4.01K Posted 17th January 2025 0 Comments

Hi Jesus,

This is most likely something to do with permissions. You can find all the permissions in DataMiner user permissions | DataMiner Docs.

Log files SLClient.txt or the cube logging might reveal more information.

If you have reviewed your permissions and still face this problem, please contact techsupport@skyline.be with a detailed description of your issue.

Arunkrishna Shreeder [SLC] [DevOps Advocate] Selected answer as best 27th April 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