SQL server replication requires an actual server name to connect to the server

Source: Internet
Author: User

WIN2008 R2 installed on the server, and then did not care about the machine name, after installing the SQL2008 R2 database, configure the ad domain to modify the machine name.

Then, when you start configuring Database mirroring synchronization, try the following database replication publication, and the result is "SQL Server replication requires an actual server name to connect to the server." Connections through server aliases, IP addresses, or any other alternate names are not supported. Please specify the actual server name ... "as shown in.

Online check, there are students summed up that is the machine name is not correct, this just remember before you did modify the machine name, but this link in the database is an instance of the IP or alias form address. OK, here's the solution:

1. Check the server (machine) name and execute it in the default or non-named instance of the database:

use mastergoselect@@servername;selectserverproperty(‘servername‘)

2. If you find that the server name and the actual computer name are not met by the SQL query above, perform the following:

3. Perform step 1 again to find that the server name has not changed or is displayed as null to restart the SQL Server service. Finally, step 1 is performed and the server name is displayed correctly.

Note: If there are multiple instances, each instance will go through each of the 3 steps individually.

SQL server replication requires an actual server name to connect to the server

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.