Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Can 1 Dev VM have 2 AxDB ?

(0) ShareShare
ReportReport
Posted on by

Hi,

When we have 1 VM, it is from downloadable VHD from LCS, can we have 2 DB : AXDB ?

Reason is I need to refer to standard F&O along with its Contoso Demo data, whereby in my VM now only have my company Demo Data.

But I also wondering what would happened with the PackageLocalDirectory since I have my customization over there.

Thanks,

  • Martin Dráb Profile Picture
    Martin Dráb 231,305 Most Valuable Professional on at
    RE: Can 1 Dev VM have 2 AxDB ?

    I think that what you see in LCS are importable data packages with data for some specific business areas, not full DB backups. Download a package to see it for yourself.

    I'm not aware of standard DB backups being available in LCS.

  • VoltesDev Profile Picture
    VoltesDev on at
    RE: Can 1 Dev VM have 2 AxDB ?

    ok, this is probably some stupid question, but since my Dev VM's DB now already replaced (few months ago) with company's data and I didn't have the original Demo data backup DB, am I gonna need to download VHD again ? or there is a database backup somewhere in LCS ?

    FYI, I'm take a look at my LCS in SharedAssetLibrary, there is no Database Backup (outside my project) but there are some Demo data package, may I know what are those and can I use it ?

    pastedimage1675931666417v1.png

    Thanks,

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 231,305 Most Valuable Professional on at
    RE: Can 1 Dev VM have 2 AxDB ?

    Strictly speaking, the answer is no - you can't have two databases with the same name.

    But you can have two databases and switch them on demand. One approach is renaming database - the one you want to use will be called AxDB and other will have a different name. Another approach (one that I use) is keeping DBs with descriptive names and telling F&O which DB it should use. It's defined in web.config; I use a Powershell script to switch it.

    Nothing happens with your files in PackageLocalDirectory. It has nothing to do with the database.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans