The SQLServer remote server does not exist. It is not specified as a valid Publishing Server, or you do not have permission to view available publishing servers. sqlserver does not exist.

Source: Internet
Author: User

The SQLServer remote server does not exist. It is not specified as a valid Publishing Server, or you do not have permission to view available publishing servers. sqlserver does not exist.

When a transaction release is created and an error occurs during initialization, view the agent information as follows:


Log Reader Agent error:

Status: 0, code: 20015, text: 'remote server "serverName" does not exist, is not specified as a valid Publishing Server, or you are not authorized to view available publishing servers. '.
The remote server "serverName" does not exist. It is not specified as a valid Publishing Server, or you are not authorized to view available publishing servers.


Snapshot proxy error:

Exception message: the remote server "serverName" does not exist. It is not specified as a valid Publishing Server, or you are not authorized to view available publishing servers.

UserDomain \ User. The replication proxy encountered a problem. For more information, see the previous job step history message or copy monitor .. This step fails.

Executed as user nt authority \ network service. Truncates string or binary data. [SQLSTATE 22001] (error 8152). This step fails.


Distribution agent error:

Startup Delay: 1042 (msecs)
Connecting to distributor "serverName"
The proxy message code is 14080. The remote server "serverName" does not exist. It is not specified as a valid Publishing Server, or you are not authorized to view available publishing servers.



The configuration should not be wrong, and the proxy job owner should also change to "sa", which may be a permission issue!


Solution:

1. This UserDomain \ UserIs the user who executes the proxy and grants the user server role:Sysadmin

EXEC master. dbo. sp_addsrvrolemember @ loginame = domain \ User ', @ rolename = n'sysadmin' GO


2. Right-click Publish attribute and click Publish access listTo add the user to it.



3. reinitialize. Normal !~





Related Article

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.