hi paul.
Just to be sure that I have made things corrrcetly.
From Office A ( the publisherA ) to Office B (The subscriberB), I can ping
the server in office B from Office A by using either Ip adrress or the full
name as <Servername>.DomaineName. So for me it will be nomos-srvr.mu1.grp
If I use ither Ip adress or full name as server name from ODBC DSn setup, it
works all ok.
Then I was testing connection from Office A using the utility osql, works
all ok too
From New Subscription setup from SQL server 2005 of OfficeA , at the time I
Add a new subscriber, If I enter as Server name or IP adress in the form :
nomos-srvr.mu1.grp or Ip
--> error message saying :
"SQL server replication requires the actual server name to make a
connection to the server. Connections trhrough a server alias, ip adress, or
any other alternate name are not supported. Specify the actual server name
(Replication Utilities)"
Then on Publisher SQl server configuration manager I add an Alias with
entries:
- Alias Name : MyServer
- Tcp : 1433
- Server: nomos-srvr-mu1.grp ( or Ip adress)
Then I Add new subscriber from the previous setup of new subscription and
this time as a server name I enter myServer ( Aliasname)
----> Same error as before.
"SQL server replication requires the actual server name to make a
connection to the server. Connections trhrough a server alias, ip adress, or
any other alternate name are not supported. Specify the actual server name
(Replication Utilities)"
Then I add "\\" before the name of the server and I get an other error saying:
---->>>
Cannot connect to ECUSERVER.
------------------------------
ADDITIONAL INFORMATION:
Failed to connect to server ECUSERVER. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
An error has occurred while establishing a connection to the server.
When connecting to SQL Server 2005, this failure may be caused by the
fact that under the default settings SQL Server does not allow remote
connections.(provider: SQL Network Interfaces, error: 25 - Connection string
is not valid)
Microsoft SQL Server, Error: 87)
<<<--------
What do you mean by testing the alias with Querry designer or SSMS ?
serge
[quoted text, click to view] "Paul Ibison" wrote:
> So does the alias work on its own, outside of the replication setup? You can
> test this by connecting with the query designer or SSMS. Also, when you use
> the alias and it fails, please can you post up the exact error message here.
> Thanks,
> Paul Ibison