今天,在作数据发库时,出现如下错误:
"sql server replication requires the actual server name to make a connection to the server. connections through a server alias, ip address, or any other alternate name are not supported."

回想起来,这个sql服务器改过名。
于是,按如下网址如教方法,更改名称,然后,解决问题。
<a href="http://www.hagrin.com/332/fixing-sql-server-replication-requires-actual-server-name-make-connection-server-error">http://www.hagrin.com/332/fixing-sql-server-replication-requires-actual-server-name-make-connection-server-error</a>
select @@servername
先看清楚,名称是不是和现在的名称一样。
sp_dropserver 'old_server_name'
go
sp_addserver 'current_computer_name', 'local'
go
如果不是,去掉老名字,换成新名字。
然后,重启sql,搞定之~~