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

unable to create new DM automation project in VS2022 after windows 11 update

Solved476 views18th April 2025Automation DIS Automation script DIS Visual Studio
1
Baranisudha Murugesan784 4th November 2024 2 Comments

Hi All,

Im facing this issue after updating to windows 11. Unable to create a new DM automation project. But able to “Add” new automation script. below are the steps i have taken so far.

  1. uninstalled VS2022 professional and reinstalled — still couldnt create a new DM aproject
  2. uninstalled DIS and installed latest version — still couldnt create a new DM project
  3. uninstalled updated DIS and installed downgraded version — still couldnt create a new DM project

I have no issue with publishing my code to DM server.

if any of you faced same issue and resolved it, kindly provide some steps to follow.

unable to update the template. im getting this error –

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th April 2025
Marieke Goethals [SLC] [DevOps Catalyst] commented 30th January 2025

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 18th April 2025

As this question has now been inactive for a very 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
1
Pedro Debevere [SLC] [DevOps Enabler]1.80K Posted 4th November 2024 4 Comments

Hi,

The project templates are provided by a template NuGet package which gets installed or updated at Visual Studio startup if configured to do so.

Can you verify in the DIS settings window, under the Templates tab, if the Download templates on Visual Studio startup checkbox is checked and the textbox Templates NuGet package ID mentions Skyline.DataMiner.VisualStudioTemplates?

You can also press the update button to trigger an update manually.

In the Output window (View > Output), after selecting DIS from the dropdown, the output should give an indication about the template installation. (e.g. Templates package ‘Skyline.DataMiner.VisualStudioTemplates’ up to date (1.0.20))

If this does not work, can you provide the output that appears in the output window related to the template package installation?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th April 2025
Baranisudha Murugesan commented 4th November 2024

Hi Pedro, I tried updating the template. But im getting permission denied error. I have attached the screenshot to the main question above. i couldnt add screenshot in the comments. Please check

Pedro Debevere [SLC] [DevOps Enabler] commented 4th November 2024

Does it work if you run Visual Studio as administrator?
Another way to install the templates is to execute the following dotnet command in a command prompt window:
dotnet new install Skyline.DataMiner.VisualStudioTemplates

Baranisudha Murugesan commented 5th November 2024

yes i have tried admin mode, im still facing access denied error

Access to the path ‘C:Usersbma972.templateenginepackages.json’ is denied.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.File.Create(String path)
at Microsoft.TemplateEngine.JExtensions.WriteObject(IPhysicalFileSystem fileSystem, String path, Object obj)
at Microsoft.TemplateEngine.Edge.BuiltInManagedProvider.GlobalSettings.SetInstalledTemplatePackagesAsync(IReadOnlyList`1 packages, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Edge.BuiltInManagedProvider.GlobalSettingsTemplatePackageProvider.InstallAsync(IEnumerable`1 installRequests, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.TemplatePackageCoordinator.EnterInstallFlowAsync(InstallCommandArgs args, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.Commands.InstallCommand.ExecuteAsync(InstallCommandArgs args, IEngineEnvironmentSettings environmentSettings, TemplatePackageManager templatePackageManager, ParseResult parseResult, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.Commands.BaseCommand`1.CommandAction.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)

Pedro Debevere [SLC] [DevOps Enabler] commented 5th November 2024

Does the dotnet new install Skyline.DataMiner.VisualStudioTemplates command work or do you get a similar error?

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