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 :
Finance | Project Operations, Human Resources, ...
Answered

Full database Synchronization wiping out custom tables form MSSQL server

(0) ShareShare
ReportReport
Posted on by 15

Hello, 

I created a new VM and trying to update database with recent one from UAT. I build all models and their dependencies. When I log into UI its showed Contoso data. I coped database from UAT to new VM. I saw that copied database had custom tables etc. After build all models without any errors I did full database sync. Somehow custom tables are gone from copied database. Can you please advice why its doing that and I tried many times.

Thanks! 

I have the same question (0)
  • DinaB Profile Picture
    15 on at
    RE: Full database Synchronization wiping out custom tables form MSSQL server

    Actually, I was missing some custom assemblies. Adding them then doing full model build and full database sync worked. Thank you for your help

  • Verified answer
    André Arnaud de Calavon Profile Picture
    297,559 Super User 2025 Season 2 on at
    RE: Full database Synchronization wiping out custom tables form MSSQL server

    When you copied the database, this would include possible ISV license codes and configuration key settings. So, there should be some tables missing in the AOT when you perform a new build. Can you probably add some screenshots to illustrate your exact issue?

  • DinaB Profile Picture
    15 on at
    RE: Full database Synchronization wiping out custom tables form MSSQL server

    When I full build models I see the custom model. As well in the K:\AosService\PackagesLocalDirectory

  • DinaB Profile Picture
    15 on at
    RE: Full database Synchronization wiping out custom tables form MSSQL server

    How can I check if models on VM as well in runtime packages? Thank you

  • André Arnaud de Calavon Profile Picture
    297,559 Super User 2025 Season 2 on at
    RE: Full database Synchronization wiping out custom tables form MSSQL server

    Hi Dina,

    Are the models on both environments the same? Are you sure you have models on the new VM and not only runtime packages?

  • DinaB Profile Picture
    15 on at
    RE: Full database Synchronization wiping out custom tables form MSSQL server

    I made sure custom model exists before doing a full model build

  • DinaB Profile Picture
    15 on at
    RE: Full database Synchronization wiping out custom tables form MSSQL server

    Yes, it does exists in AOT.

  • greengrimms Profile Picture
    1,400 on at
    RE: Full database Synchronization wiping out custom tables form MSSQL server

    Hi Dina,

    Are you sure there's not a custom module missing? Are the tables missing in SQL related in any way? By that I mean, are they all from the same model?  

  • Leo Chen Profile Picture
    on at
    RE: Full database Synchronization wiping out custom tables form MSSQL server

    Does the gone custom table exists in the AOT? If not then that explains why it gone from 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

Responsible AI policies

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

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 789 User Group Leader

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 607 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 497 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans