Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Failed to prepare the systems for replication - ErrorMessage='Operation on target GetSourceBCVersion failed

(0) ShareShare
ReportReport
Posted on by 180

Hi, I'm migrating from a BC 14 On-Prem to BC Online 21.1 and I'am receiving this error during the cloud migration setup. 

Failed to prepare the systems for replication. The call to prepare servers failed. Run id='79dd1b99-39b8-418c-b66a-4abc3baca103', Name='mslata9446t29490621_BCLast_Preparation', ErrorMessage='Operation on target GetSourceBCVersion failed: ErrorCode=InvalidParameter,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The value of the property '' is invalid: 'Keyword not supported: 'sever'.'.,Source=,''Type=System.ArgumentException,Message=Keyword not supported: 'sever'.,Source=System.Data,''

My Connection string is: Sever={MyConnection};Database={MyDatabase};User Id={MyUser};Password={MyPassword};

 

Any idea?

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,324 Moderator on at
    RE: Failed to prepare the systems for replication - ErrorMessage='Operation on target GetSourceBCVersion failed

    Good news.

  • Agustin Mendez Profile Picture
    Agustin Mendez 180 on at
    RE: Failed to prepare the systems for replication - ErrorMessage='Operation on target GetSourceBCVersion failed

    Resolved! the problem was an error in the connection string.

    Thanks ZHU and Marco!

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 78,034 Super User 2025 Season 1 on at
    RE: Failed to prepare the systems for replication - ErrorMessage='Operation on target GetSourceBCVersion failed

    Just adding to Marco's reply.

    My test example:

    Server=MyServer\BCDEMO;Database=BC170;User Id=MySQLAccount;PWD=MyPassWord;

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Failed to prepare the systems for replication - ErrorMessage='Operation on target GetSourceBCVersion failed

    Hello,

    The correct connection strings are like this:

    Server={Server Name\Instance Name};Initial Catalog={Database Name};UserID={SQL Authenticated UserName};Password={SQL Authenticated Password};

    Server={Server Name\Instance Name};Database={Database Name};User Id={SQL Server Authenticated UserName};Password={SQL Server Authenticated Password};

    The keyword "sever" is not supported. This should be "Server".

    Hope it helps.

  • Agustin Mendez Profile Picture
    Agustin Mendez 180 on at
    RE: Failed to prepare the systems for replication - ErrorMessage='Operation on target GetSourceBCVersion failed

    Hi ZHU, thanks for your answer but the error still the same. Reading your post I thought it could be because the country version. The source DB BC 14 is W1 and the target BR. But i Tried with the same country code for both W1 and the error persist.

     

    As additional info following the detailed error:

     

    "Hybrid Deployment"(CodeUnit 6060).RetryGetStatus line 22 - Base Application by Microsoft "Hybrid Deployment"(CodeUnit 6060).RetryGetStatus line 2 - Base Application by Microsoft "Hybrid Deployment"(CodeUnit 6060).EnableReplication line 22 - Base Application by Microsoft "Hybrid Cloud Management"(CodeUnit 4001).EnableReplication line 8 - Intelligent Cloud Base by Microsoft "Hybrid Cloud Management"(CodeUnit 4001).HandleShowCompanySelectionStep line 8 - Intelligent Cloud Base by Microsoft "Hybrid Cloud Setup Wizard"(Page 4000).ShowCompanySelectionStep line 5 - Intelligent Cloud Base by Microsoft "Hybrid Cloud Setup Wizard"(Page 4000).NextStep line 40 - Intelligent Cloud Base by Microsoft "Hybrid Cloud Setup Wizard"(Page 4000).NextStep line 30 - Intelligent Cloud Base by Microsoft "Hybrid Cloud Setup Wizard"(Page 4000)."ActionNext - OnAction"(Trigger) line 35 - Intelligent Cloud Base by Microsoft "Guided Experience Impl."(CodeUnit 1991).RunObject line 4 - System Application by Microsoft "Guided Experience Impl."(CodeUnit 1991).Run line 34 - System Application by Microsoft "Guided Experience Impl."(CodeUnit 1991).RunAndRefreshAssistedSetup line 2 - System Application by Microsoft "Assisted Setup"(Page 1801).RunPage line 5 - System Application by Microsoft "Assisted Setup"(Page 1801)."Start Setup - OnAction"(Trigger) line 2 - System Application by Microsoft

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 78,034 Super User 2025 Season 1 on at
    RE: Failed to prepare the systems for replication - ErrorMessage='Operation on target GetSourceBCVersion failed

    Hi, I did a similar test in BC17, hope the link below can give you some hints.

    Dynamics 365 Business Central: How to migrate On-Premises Data to Cloud (SaaS)

    https://yzhums.com/6646/

    Thanks.

    ZHU

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans