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

Database Sync issue after DB restore

(1) ShareShare
ReportReport
Posted on by 226
I have just exported the Database from lcs sandbox and apply it on my fresh Vm but in the visual studio the full database sync is getting failed.
 
By the way I restore sandbox db from production first then I exported the sandbox db for deployment on fresh VM.
 
These are the errors:
I have the same question (0)
  • Verified answer
    JJDunaid Profile Picture
    226 on at
    Database Sync issue after DB restore
    Yes the issue is resolved. I resolved the issue by simply reapplying the DB from sandbox to VM.  After re-applying the DB  i simply synced the DB the error's were resolved.
     
  • Waed Ayyad Profile Picture
    8,936 Super User 2025 Season 2 on at
    Database Sync issue after DB restore
    Hi,

    Is your issue resolved?  If yes, mark the answers that helped you as verified.

    Thanks
    Waed Ayyad
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,174 Super User 2025 Season 2 on at
    Database Sync issue after DB restore
    Hi JJDunaid,
     
    Questions:
    1. What are those errors that you receive on your machine?
    2. While synchronizing the database are you getting table sync errors or disk space errors etc.?
    3. After importing the database (If you have done it manually) have you renamed the database to AxDB?
    4. Are there any customizations that exist on the sandbox that is broken?
     
    Suggestions:
    1. If you are getting RetailChannelObjects errors then you need to drop the RetailChannelObjects through the script K:\DeployablePackages\<deployablepackagesversionnumber>\RetailServer\Scripts\DropAllRetailChannelDbObjects.sql
    2. Re-run your DB sync steps.
     
    Happy to answer questions, if any.
     
     
     
     
  • Waed Ayyad Profile Picture
    8,936 Super User 2025 Season 2 on at
    Database Sync issue after DB restore
    Hi,

    What are the errors?  Do you have enough space on your Dev environment? Also you can check my article about restoring Sand box DB to Dev environment:

    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
    ​​​​​​​
  • Layan Jwei Profile Picture
    8,034 Super User 2025 Season 2 on at
    Database Sync issue after DB restore
    Hi,
     
    Yes please share the errors and i would like to know how you restored the DB.
     
    If it was a .bak file and maybe u missed a step. Then please check out my article
     
    Thanks,
    Layan Jweihan
  • André Arnaud de Calavon Profile Picture
    298,647 Super User 2025 Season 2 on at
    Database Sync issue after DB restore
    Hi JJDunaid,

    I'm also curious about the exact error messages. Can you also tell us if the application versions of the production and the fresh VM are the same?
  • Martin Dráb Profile Picture
    236,172 Most Valuable Professional on at
    Dynamics Finance and operation Database Sync issue
    What are the errors?

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,352

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 634 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans