web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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:
  • Martin Dráb Profile Picture
    240,744 Most Valuable Professional on at
    What are the errors?
  • André Arnaud de Calavon Profile Picture
    307,101 Super User 2026 Season 2 on at
    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?
  • Layan Jwei Profile Picture
    8,284 Super User 2026 Season 2 on at
    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
  • Waed Ayyad Profile Picture
    9,218 Super User 2026 Season 2 on at
    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
    ​​​​​​​
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,699 Super User 2026 Season 2 on at
    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
    9,218 Super User 2026 Season 2 on at
    Hi,

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

    Thanks
    Waed Ayyad
  • Verified answer
    JJDunaid Profile Picture
    226 on at
    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.
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 366

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 360 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans