SQL Server remote servers do not exist, are not designated as valid publishers, or you do not have permission to view available publishers

Source: Internet
Author: User


Original: SQL Server remote servers do not exist, are not designated as valid publishers, or you do not have permission to view available publishers





A transactional publication was created and an error occurred during initialization to view the relevant proxy information as follows:






Log Reader Agent error:



Status: 0, Code: 20015, Text: ' Remote server ' serverName ' does not exist, is not specified as a valid publisher, or you do not have permission to view the available publishers. ‘。
The remote server "ServerName" does not exist, is not specified as a valid publisher, or you do not have permission to view the available publishers.






Snapshot Agent Error:



Exception message: The remote server "ServerName" does not exist, is not specified as a valid publisher, or you do not have permission to view the available publishers.



Executed as user domain \ user . The replication agent is experiencing problems.  For more information, see the previous job step history message or Replication Monitor: The step failed.



Executed as user NT Authority\Network SERVICE. string or binary data is truncated. [SQLSTATE 22001]  (Error 8152). The step failed.






Distribution Agent Error:



Startup delay:1042 (msecs)
Connecting to distributor "ServerName"
Agent Message Code 14080. The remote server "ServerName" does not exist, is not specified as a valid publisher, or you do not have permission to view the available publishers.









Configuration should not be wrong, agent job owner also changed to "sa", may be the issue of permissions!






Workaround:



1. The user domain \ User is the user executing the agent, and the user server role is granted to the sysadmin





EXEC master.dbo.sp_addsrvrolemember @loginame = domain \ user ', @rolename = N ' sysadmin ' GO







2. Right-click Publish Properties,  Publish Access Lists, add the user to it.





3. Re-initialized, normal! ~















SQL Server remote servers do not exist, are not designated as valid publishers, or you do not have permission to view available publishers


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.