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
*This post is locked for comments
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.
-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.
ᐧ
Thank you for your reply!
I used the local path and I imported the model store with succees
Thank you!!!
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 -VerboseImport-AXModelStore -Server SQLSERVERANDINSTANCE -Database SQLDBNAME -Apply Temp -NoPrompt -Details
Yes i have permission to read & execute the file
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
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Community Member 2
Guy Terry 2 Moderator
Martin Dráb 2 Most Valuable Professional