Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

I'm stuck on Model Store Exporting !

Posted on by 312

Hi Team,

I'm trying to exporting in AX 2012 R3, I got an error please see below,

I guess i don't have an access doing this?

Am I correct?

Please give me the suggestions regarding this.

Latest-Update.jpg5265.Latest.jpg

Thanks,

vinaykumar.

*This post is locked for comments

  • vinilkumar Profile Picture
    vinilkumar 312 on at
    RE: I'm stuck on Model Store Exporting !

    Thanks Martin/Andre,

    Finally I got Solution. I made a mistake in Command,

    It will be working like,

    Export-axmodelstore -file "C:\Folder_name\modle.axmodelstore" -Details.

    Thanks,

    Vinaykumar.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,188 Most Valuable Professional on at
    RE: I'm stuck on Model Store Exporting !

    You're using the wrong database. This DB contains business data such as customers; the model store is in the DB suffixed with _modelstore.

  • vinilkumar Profile Picture
    vinilkumar 312 on at
    RE: I'm stuck on Model Store Exporting !

    Hi Martin/Andre,

    Latest-Error.jpg

    Again I got an error, It's about model-store & file. 

    Now, I stopped the service &run the command. If we are running the export, services have to either Run or stop.

    Please help me on this,

    Thanks,

    Vinaykumar.

  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,253 Super User 2024 Season 2 on at
    RE: I'm stuck on Model Store Exporting !

    Hi Vianykumar,

    Like Martin mentioned, you should use "Export-axmodelstore" as command without the space in between.

  • vinilkumar Profile Picture
    vinilkumar 312 on at
    RE: I'm stuck on Model Store Exporting !

    Hi Martin,

    Initially, I run through "dynamicsmanagementshell"  as Export -axmodelstore -server name -database name -file "C:\Release\name.axmodelstore" -Details

    Later, I got an error "The term Export is not recognized as the name of cmdlet, function, script file etc..

    Latest-sub.jpg

    Please suggest me, regarding this.

    Thanks,

    Vianykumar.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,188 Most Valuable Professional on at
    RE: I'm stuck on Model Store Exporting !

    The first error is caused by an error in the cmdlet name: you use Export -AXModelStore instead of the correct Export-AXModelStore.

    The other error says that the path is invalid. Check out whether the file name and path is correct.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans