Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Error when installing a model

Posted on by 40

Hello,

I met with a similar problem, but I have a little different message:
    + CategoryInfo          : OperationStopped: (:) [Install-AXModel], PipelineStoppedException
    + FullyQualifiedErrorId : The file exists.
    ,Microsoft.Dynamics.AX.Framework.Tools.ModelManagement.PowerShell.InstallAXModelCommand
I use PS script combined with batch file.
The line where problem exists:
Install-AXModel  -File "C:\AX\BLD\AxAOT\Dependencies\appl\Ex.axmodel" -Details -NoPrompt -Server "AX-01" -Database "MicrosoftDynamicsAX_model" -OutVariable out -Verbose
A curiosity is that PS script generate such error when batch file is run from scheduler (automatically), there is no error when it is run from cmd (it means the same batch file combined with PS from command line).
How to explain this message?

*This post is locked for comments

  • nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Error when installing a model

    Hi, I split your question to a new thread.

    What user account are you using for the scheduled task? Did you set it to run with highest privileges?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans