web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Access is denied when importing modelstore

(0) ShareShare
ReportReport
Posted on by

Hi ,

I run it in mode Admnistrator, I used this command but I got this error:

Import-AXModelStore -File "\\30.21.321.111\Developpement\ModelStore\AX_2016_1501.axmodelstore

c1-_2D00_-Copie.PNG

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Denis Macchinetti Profile Picture
    16,444 on at
    RE: Access is denied when importing modelstore

    Hi Syrine

    Using Modelstore, theoretically isn't required to Compile Application, include CIL compilation because should be something done in the Source env.

    Is mandatory instead, Synchronize the Datadictionary through the SQL administration form (Click System administration > Periodic > Database > SQL administration. On the Table actions menu, click Synchronize database, or click Check/Synchronize.) in order to update the SQL Server Tables.

  • Community Member Profile Picture
    on at
    RE: Access is denied when importing modelstore

    -I imported the  model store into the machine,

    -I restarted the AOS,

    -I  compiled  the application,

    I have a question about The synchronization:

    should i Synchronize database now from synchronize database menu in rich client.

    Thanks.

  • Community Member Profile Picture
    on at
    RE: Access is denied when importing modelstore

    Thank you for your reply!

    I used the local path and I imported the model store with succees

    Thank you!!!

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at
    RE: Access is denied when importing modelstore

    As stated above it will only work from a local path. When I release a modelstore I typically import it to a temporary schema first, which does not interrupt Production operation and can be done as a preparation step. After that once you are ready for the maintenance, stop the AX AOS services and apply the modelstore:

    Initialize-AXModelStore -Server SQLSERVERANDINSTANCE -Database SQLDBNAME -SchemaName Temp
    Import-AXModelStore -Server SQLSERVERANDINSTANCE -Database SQLDBNAME -SchemaName Temp -File C:\Temp\release.axmodelstore -IDConflict:Overwrite -NoPrompt -Details -Verbose
    Import-AXModelStore -Server SQLSERVERANDINSTANCE -Database SQLDBNAME -Apply Temp -NoPrompt -Details
  • Community Member Profile Picture
    on at
    RE: Access is denied when importing modelstore

    Yes i have  permission to read & execute the file

    permissions.PNG

  • Verified answer
    Denis Macchinetti Profile Picture
    16,444 on at
    RE: Access is denied when importing modelstore

    Syrine, move the Modelstore file directly on the computer where you issue the command, something like C:\ModelStore.

    Finally, try again without using UNC path and use the local path

  • Martin Dráb Profile Picture
    236,258 Most Valuable Professional on at
    RE: Access is denied when importing modelstore

    Is the path correct and do you have permissions to open the file?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans