Question : Replication Error

Iam trying to setup replication between servers from one sub domain (Dev) to a different subdomain (Test).
Publisher in Dev and Subscriber in Test.

I am able to connect to the Test Server in Dev Server from mgmt studio using
ServerName.Test.Domain.com\InstanceName,PortNum with out any problems.

I created a new Publication in Dev domain Server.

When trying to create a new Subscription for the server in the Test Domain, I get the below error:

TITLE: Connect to Server
------------------------------

Cannot connect to ServerName.Test.Domain.com\InstanceName,PortNum

------------------------------
ADDITIONAL INFORMATION:

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. Specify the actual server name, 'ServerName\InstanceName'. (Replication.Utilities)

------------------------------
BUTTONS:

OK
------------------------------


Is there a way I can over come this or should the both Publisher and Subscriber be in the same Domain/ Subdomain.

Thanks,

Answer : Replication Error

Using the code in the related post, consider what happens when adjacent_find sends left=(22,A) and right=(22,A) to isDistEqual(). The distances match, but the student ID do not match and so
       left.studentName != right.studentName
is false. So this pair is skipped by adjacent_find.

So, you won't even know from adjacent_find that there even were two entries = (22,A). So, you don't have to worry about getting 22 feet: A, A, C, D since 22,A will be seen only once.
Random Solutions  
 
programming4us programming4us