SQL Server, SQL Server Services, Logins and Merge Replication

MR BILL 261 Reputation points
2022-05-24T21:09:48.23+00:00

When you install SQL Server (2019 or lower) and you use dual authentication sa and Windows Authentication what password is given for the NT Service\MSSQL$InstanceName and NT Service\SQLAgent$InstanceName?

I'm getting an error after creating a subscription on the publisher machine (which requires me to put in the credentials to the other machine) in the Job Agent for the merge replication saying "The process could not connect to Subscriber 'subcriber machine name'.

I have tried creating the subscription for merge for both run the job from the publisher and run the job from the subscriber. The above error I get when creating the subscription to run from the publisher. When I create the subscription to run from the subscriber the error I receive is "The process could not connect to Distributor & or Publisher.

Any ideas what I'm doing wrong? Any help is appreciated.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,479 questions
{count} votes

Accepted answer
  1. CathyJi-MSFT 22,346 Reputation points Microsoft Vendor
    2022-05-25T02:01:12.167+00:00

    Hi @MR BILL ,

    >what password is given for the NT Service\MSSQL$InstanceName and NT Service\SQLAgent$InstanceName?

    Quote from MS document Virtual Accounts;

    NT Service\MSSQL$InstanceName is Virtual Account, it is auto-managed by windows. When specifying a virtual account to start SQL Server, leave the password blank.

    > The process could not connect to Subscriber 'subcriber machine name'.

    Which authentication that you use to connect to subscriber? You can check this as below screenshots. Did the login that you used is existed in subscriber server?
    205302-screenshot-2022-05-25-095655.jpg
    205311-screenshot-2022-05-25-095723.jpg


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.