Showing posts with label means. Show all posts
Showing posts with label means. Show all posts

Friday, March 30, 2012

Replication to server with different Port

I have a SQL server running on a remote location that has a different port
enabled to connect other than the default one, which means that when I want
to register I have to specify the port number as well eg.
Server1\InstanceName,4001 .
I am trying to carry out merge replication between the server and the MSDE
on my box. I have set up the pubisher, registered the SQL Server from
Enterprise Manager on my machine and on setting up the subscriber I am able
to view the publication in the list of registered servers. Creating the
subscription works fine, but when I try to sync , I get the error 'The
process could not connect to Distributor 'Server1\InstanceName' . I feel that
this is because of the port since it is not mentioned in the message and SQL
is trying to use the default port. Is there some workaround for this?
Jax,
for a named instance, there is no default port - it is assigned at creation
from the list of available ports, and your port number won't necessarily be
the same as mine, for the first named instance. Usually the port number is
not specified in the replication definition, and it is dynamically picked up
(hence the slammer virus on UDP, port 1434 ). Do you have 1434 blocked? If
not, then please try designing without the port number and see if this
works.
Also, The SQL Server Agent service (SQLServerAgent) at the client should not
use the LocalSystem account. It needs to use a standard domain account.
Finally, please check that the agents use impersonation.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)

Friday, March 9, 2012

Replication of indexes, triggers, constraints in MS SQL Server 200

Hi,
Is there any better means of replicating table indexes, triggers, and
constraints than simply reinitializing the article everytime their
definitions change or a new one is added? This is in Microsoft SQL Server
2000 SP3.
Many thanks,
Oskar
sp_addscriptexec
It only works for subscribers deployed via a UNC.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Oskar" <Oskar@.discussions.microsoft.com> wrote in message
news:469DF5DA-6394-477E-B8DD-915E0E48072A@.microsoft.com...
> Hi,
> Is there any better means of replicating table indexes, triggers, and
> constraints than simply reinitializing the article everytime their
> definitions change or a new one is added? This is in Microsoft SQL Server
> 2000 SP3.
> --
> Many thanks,
> Oskar
>