locked
Configure Publication error when using remote distributor RRS feed

  • Question

  • hi,all

    i have added servername\repl_logreader,servername\repl_snapshot  in sqlserver Logins.. and done everything for creating publications

    using remote distributor:

    int the last step in Publication wizad,erros happen as follows:

    Proxy "servername\repl_logreader" is not a valid Windows user.Changed database context to "publication db"

    mark: there is nothing errors when using local distributor

    Monday, June 29, 2020 11:26 AM

All replies

  • Hi huisky,

    i have added servername\repl_logreader,servername\repl_snapshot  in sqlserver Logins???

    Logins as one login account name, you can add the name as Administrator, TEST,MIAOYUXI...

    Follow the step from the reply in your case :configure-remote-distribution-error

    BR,

    MIAOYUXI

    Tuesday, June 30, 2020 2:42 AM
  • Hi huisky,

    Logins as one login account name, you can add the name as Administrator, TEST,MIAOYUXI...

    May I use 'sa' account to login in? both server1 and server2 I login with account 'sa'..

    Don't you need a windows account in 'Snapshot Agent Security' Wizard?

    Tuesday, June 30, 2020 6:22 AM
  • i think thers is something wrong in 'Agent Security' Wizard...

    case 1: select 'Run under the following Windows account'

    errors: Proxy "servername\repl_logreader" is not a valid Windows user.Changed database context to "publication db"

    case 2: select 'Run under the SQL Server Agent service account'

    i can not start Snapshot Agent and Logreader Agent..

    errors: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections

     
    Tuesday, June 30, 2020 9:07 AM
  • Yes.You can.

    Tuesday, June 30, 2020 9:49 AM
  • That is one connectivity error.

    1.close the fire wall;

    2.Enable TCP/IP protocols both in your server and client side;

    3.Use 1433 port;

    4.Restart the sql engine service.

    troubleshoot-connecting-to-the-sql-server-database-engine


    Tuesday, June 30, 2020 9:53 AM
  • all above tips is done. Not the problem above.

    in 'Agent Security' Wizard ->

    Can only select the choice 'Run under the SQL Server Agent service account'',when using remote distirbutor ?

    It puzzles me..

    Tuesday, June 30, 2020 10:22 AM
  • Yes.

    You can choose the option.

    Wednesday, July 1, 2020 1:06 AM
  • thanks for your patience..

    I done like this and finished the New Publication Wizard

    my publications settings as follows:

    publication settings

    but i can not start Snapshot Agent and Log Reader Agent:

    need help.. 


    • Edited by huisky Wednesday, July 1, 2020 2:56 AM
    Wednesday, July 1, 2020 2:53 AM
  • my SQL Agent Server account is default:

    Wednesday, July 1, 2020 2:55 AM
  • It doesn't matter.
    Wednesday, July 1, 2020 5:56 AM
  • thanks for your patience..

    I done like this and finished the New Publication Wizard

    my publications settings as follows:

    publication settings

    but i can not start Snapshot Agent and Log Reader Agent:

    need help.. 


    still failed。。

    Wednesday, July 1, 2020 6:44 AM
  • some detail errors:

    publisher To Distributor  failed

    Wednesday, July 1, 2020 7:08 AM
  • Enable THE TCP\IP PROTOCOL both in your DIS and PUB by SSCM and then restart the SQL service.

    Thursday, July 2, 2020 1:14 AM
  • THE TCP\IP PROTOCOL both is ok.

    publication:

    distribution:

    Thursday, July 2, 2020 3:30 AM
  • Can I have a remote for your issue?
    Friday, July 3, 2020 1:09 AM
  • Or you can choose to ask professional engineers for help, and they will deal with your problem separately and confidentially:AssistedSupportProducts
    Friday, July 3, 2020 1:11 AM
  • Or you can choose to ask professional engineers for help, and they will deal with your problem separately and confidentially:AssistedSupportProducts

    They can remote with you.

    Friday, July 3, 2020 6:17 AM
  • Or you can choose to ask professional engineers for help, and they will deal with your problem separately and confidentially:AssistedSupportProducts

    They can remote with you.

           Thanks for your suggestion..
    Saturday, July 4, 2020 2:00 AM
  • You're welcome.
    Monday, July 6, 2020 1:03 AM