Merge Replication - Invalid Subscriptions

Merge Replication - Invalid Subscriptions

Post by Mike Fredric » Fri, 20 Jul 2001 02:42:53



Greetings List,

I hope somebody can help me out here... here's my situtation.

SS2K on 2 machines, on on DMZ one on Internal. Both have connectivity to
each other on 1433

Internal is the distributor and the publisher. A push subscription is set up
to send data from Internal to DMZ

I have the standard setup going and when I create the push subscription it
runs the snapshot agent just fine,
transports and imports the snapshot.. then when it looks like it works OK
the Merge Agent says:

The subscription to publication 'V3ReplDEV' is invalid.

Error Text:

The subscription to publication 'V3ReplDEV' is invalid.
(Source: Merge Replication Provider (Agent); Error number: -2147201019)
----------------------------------------------------------------------------
-----------------------------------
The remote server is not defined as a subscription server.
(Source: XXX.XXX.XXX.XXX (Data source); Error number: 14010)
----------------------------------------------------------------------------
-----------------------------------

So every time I run the merge agent after this it repeats the same process
(my bulk insering a new snapshot)

I have created another subscription on the same internal machine to a local
database. That subscription works
fine so I think there is a permissions issue. Unfortunatly, I really don't
know what permissions would be causing
the problem.. If anyone can help I would greatly appreciate it!

Thanks Much!
Mike Fredrick

 
 
 

Merge Replication - Invalid Subscriptions

Post by TSVK » Fri, 20 Jul 2001 03:49:40


The subscription server is defined with the servername but the replication
agent is trying to connect with IP address.  (To be precise, the IP address
is not defined in the sysservers of the publisher database)
This is the problem.  Instead of adding the IP address to sysservers of
publisher , I suggest that you make an alias with cliconfg.exe or lmhosts
type mapping between subscriber name and  IP address so that the replication
agent knows only about the server name rather than IP address.


Quote:> Greetings List,

> I hope somebody can help me out here... here's my situtation.

> SS2K on 2 machines, on on DMZ one on Internal. Both have connectivity to
> each other on 1433

> Internal is the distributor and the publisher. A push subscription is set
up
> to send data from Internal to DMZ

> I have the standard setup going and when I create the push subscription it
> runs the snapshot agent just fine,
> transports and imports the snapshot.. then when it looks like it works OK
> the Merge Agent says:

> The subscription to publication 'V3ReplDEV' is invalid.

> Error Text:

> The subscription to publication 'V3ReplDEV' is invalid.
> (Source: Merge Replication Provider (Agent); Error number: -2147201019)
> --------------------------------------------------------------------------
--
> -----------------------------------
> The remote server is not defined as a subscription server.
> (Source: XXX.XXX.XXX.XXX (Data source); Error number: 14010)
> --------------------------------------------------------------------------
--
> -----------------------------------

> So every time I run the merge agent after this it repeats the same process
> (my bulk insering a new snapshot)

> I have created another subscription on the same internal machine to a
local
> database. That subscription works
> fine so I think there is a permissions issue. Unfortunatly, I really don't
> know what permissions would be causing
> the problem.. If anyone can help I would greatly appreciate it!

> Thanks Much!
> Mike Fredrick


 
 
 

Merge Replication - Invalid Subscriptions

Post by Mike Fredric » Fri, 20 Jul 2001 04:04:29


Interesting,

Can you explain this a bit? I looked in my sysservers table (master DB) on
my publisher and I did see the internal server (stored by hostname) and the
dmx server (stored by IP)Is the fact that it's intermingled the issue? (one
is using hostname, one using IP) If so, then can I use WINS on the internal
to point to the external IP and use refer to the host that way?

Thanks so much!

Mike


> The subscription server is defined with the servername but the replication
> agent is trying to connect with IP address.  (To be precise, the IP
address
> is not defined in the sysservers of the publisher database)
> This is the problem.  Instead of adding the IP address to sysservers of
> publisher , I suggest that you make an alias with cliconfg.exe or lmhosts
> type mapping between subscriber name and  IP address so that the
replication
> agent knows only about the server name rather than IP address.



> > Greetings List,

> > I hope somebody can help me out here... here's my situtation.

> > SS2K on 2 machines, on on DMZ one on Internal. Both have connectivity to
> > each other on 1433

> > Internal is the distributor and the publisher. A push subscription is
set
> up
> > to send data from Internal to DMZ

> > I have the standard setup going and when I create the push subscription
it
> > runs the snapshot agent just fine,
> > transports and imports the snapshot.. then when it looks like it works
OK
> > the Merge Agent says:

> > The subscription to publication 'V3ReplDEV' is invalid.

> > Error Text:

> > The subscription to publication 'V3ReplDEV' is invalid.
> > (Source: Merge Replication Provider (Agent); Error number: -2147201019)

> --------------------------------------------------------------------------
> --
> > -----------------------------------
> > The remote server is not defined as a subscription server.
> > (Source: XXX.XXX.XXX.XXX (Data source); Error number: 14010)

> --------------------------------------------------------------------------
> --
> > -----------------------------------

> > So every time I run the merge agent after this it repeats the same
process
> > (my bulk insering a new snapshot)

> > I have created another subscription on the same internal machine to a
> local
> > database. That subscription works
> > fine so I think there is a permissions issue. Unfortunatly, I really
don't
> > know what permissions would be causing
> > the problem.. If anyone can help I would greatly appreciate it!

> > Thanks Much!
> > Mike Fredrick

 
 
 

Merge Replication - Invalid Subscriptions

Post by John Go » Fri, 20 Jul 2001 06:36:50


Mike,

Vijayts is correct.  Use the SQL client Network utility on your publisher
to define an alias for the server on the DMZ.  Register that server as a
subscriber and then push your subscription.

John Gose
MCDBA
Microsoft SQL Server Support

--------------------


| Subject: Re: Merge Replication - Invalid Subscriptions
| Date: Wed, 18 Jul 2001 11:49:40 -0700
|
<Snip of Header Stuff>
|
| The subscription server is defined with the servername but the replication
| agent is trying to connect with IP address.  (To be precise, the IP
address
| is not defined in the sysservers of the publisher database)
| This is the problem.  Instead of adding the IP address to sysservers of
| publisher , I suggest that you make an alias with cliconfg.exe or lmhosts
| type mapping between subscriber name and  IP address so that the
replication
| agent knows only about the server name rather than IP address.
|
|


| > Greetings List,
| >
| > I hope somebody can help me out here... here's my situtation.
| >
| > SS2K on 2 machines, on on DMZ one on Internal. Both have connectivity to
| > each other on 1433
| >
| > Internal is the distributor and the publisher. A push subscription is
set
| up
| > to send data from Internal to DMZ
| >
| > I have the standard setup going and when I create the push subscription
it
| > runs the snapshot agent just fine,
| > transports and imports the snapshot.. then when it looks like it works
OK
| > the Merge Agent says:
| >
| > The subscription to publication 'V3ReplDEV' is invalid.
| >
| > Error Text:
| >
| > The subscription to publication 'V3ReplDEV' is invalid.
| > (Source: Merge Replication Provider (Agent); Error number: -2147201019)
| >
--------------------------------------------------------------------------
| --
| > -----------------------------------
| > The remote server is not defined as a subscription server.
| > (Source: XXX.XXX.XXX.XXX (Data source); Error number: 14010)
| >
--------------------------------------------------------------------------
| --
| > -----------------------------------
| >
| > So every time I run the merge agent after this it repeats the same
process
| > (my bulk insering a new snapshot)
| >
| > I have created another subscription on the same internal machine to a
| local
| > database. That subscription works
| > fine so I think there is a permissions issue. Unfortunatly, I really
don't
| > know what permissions would be causing
| > the problem.. If anyone can help I would greatly appreciate it!
| >
| > Thanks Much!
| > Mike Fredrick
| >
| >
|
|
|

 
 
 

Merge Replication - Invalid Subscriptions

Post by Mike Fredric » Mon, 23 Jul 2001 08:02:23


Thanks Much all

I used the LMHOSTS local file of each NT machine and it worked like a
charm!!

Thanks again!
Mike


> Mike,

> Vijayts is correct.  Use the SQL client Network utility on your publisher
> to define an alias for the server on the DMZ.  Register that server as a
> subscriber and then push your subscription.

> John Gose
> MCDBA
> Microsoft SQL Server Support

> --------------------


> | Subject: Re: Merge Replication - Invalid Subscriptions
> | Date: Wed, 18 Jul 2001 11:49:40 -0700
> |
> <Snip of Header Stuff>
> |
> | The subscription server is defined with the servername but the
replication
> | agent is trying to connect with IP address.  (To be precise, the IP
> address
> | is not defined in the sysservers of the publisher database)
> | This is the problem.  Instead of adding the IP address to sysservers of
> | publisher , I suggest that you make an alias with cliconfg.exe or
lmhosts
> | type mapping between subscriber name and  IP address so that the
> replication
> | agent knows only about the server name rather than IP address.
> |
> |


> | > Greetings List,
> | >
> | > I hope somebody can help me out here... here's my situtation.
> | >
> | > SS2K on 2 machines, on on DMZ one on Internal. Both have connectivity
to
> | > each other on 1433
> | >
> | > Internal is the distributor and the publisher. A push subscription is
> set
> | up
> | > to send data from Internal to DMZ
> | >
> | > I have the standard setup going and when I create the push
subscription
> it
> | > runs the snapshot agent just fine,
> | > transports and imports the snapshot.. then when it looks like it works
> OK
> | > the Merge Agent says:
> | >
> | > The subscription to publication 'V3ReplDEV' is invalid.
> | >
> | > Error Text:
> | >
> | > The subscription to publication 'V3ReplDEV' is invalid.
> | > (Source: Merge Replication Provider (Agent); Error

number: -2147201019)

- Show quoted text -

Quote:> | >
> --------------------------------------------------------------------------
> | --
> | > -----------------------------------
> | > The remote server is not defined as a subscription server.
> | > (Source: XXX.XXX.XXX.XXX (Data source); Error number: 14010)
> | >
> --------------------------------------------------------------------------
> | --
> | > -----------------------------------
> | >
> | > So every time I run the merge agent after this it repeats the same
> process
> | > (my bulk insering a new snapshot)
> | >
> | > I have created another subscription on the same internal machine to a
> | local
> | > database. That subscription works
> | > fine so I think there is a permissions issue. Unfortunatly, I really
> don't
> | > know what permissions would be causing
> | > the problem.. If anyone can help I would greatly appreciate it!
> | >
> | > Thanks Much!
> | > Mike Fredrick
> | >
> | >
> |
> |
> |

 
 
 

Merge Replication - Invalid Subscriptions

Post by John Go » Mon, 23 Jul 2001 23:41:13


Glad to be able to help.
--------------------



| Subject: Re: Merge Replication - Invalid Subscriptions
| Date: Sat, 21 Jul 2001 18:02:23 -0500
|
<Snip of Header Stuff>
|
| Thanks Much all
|
| I used the LMHOSTS local file of each NT machine and it worked like a
| charm!!
|
| Thanks again!
| Mike
|
|
|


| > Mike,
| >
| > Vijayts is correct.  Use the SQL client Network utility on your
publisher
| > to define an alias for the server on the DMZ.  Register that server as a
| > subscriber and then push your subscription.
| >
| > John Gose
| > MCDBA
| > Microsoft SQL Server Support
| >
| > --------------------


| > | Subject: Re: Merge Replication - Invalid Subscriptions
| > | Date: Wed, 18 Jul 2001 11:49:40 -0700
| > |
| > <Snip of Header Stuff>
| > |
| > | The subscription server is defined with the servername but the
| replication
| > | agent is trying to connect with IP address.  (To be precise, the IP
| > address
| > | is not defined in the sysservers of the publisher database)
| > | This is the problem.  Instead of adding the IP address to sysservers
of
| > | publisher , I suggest that you make an alias with cliconfg.exe or
| lmhosts
| > | type mapping between subscriber name and  IP address so that the
| > replication
| > | agent knows only about the server name rather than IP address.
| > |
| > |


| > | > Greetings List,
| > | >
| > | > I hope somebody can help me out here... here's my situtation.
| > | >
| > | > SS2K on 2 machines, on on DMZ one on Internal. Both have
connectivity
| to
| > | > each other on 1433
| > | >
| > | > Internal is the distributor and the publisher. A push subscription
is
| > set
| > | up
| > | > to send data from Internal to DMZ
| > | >
| > | > I have the standard setup going and when I create the push
| subscription
| > it
| > | > runs the snapshot agent just fine,
| > | > transports and imports the snapshot.. then when it looks like it
works
| > OK
| > | > the Merge Agent says:
| > | >
| > | > The subscription to publication 'V3ReplDEV' is invalid.
| > | >
| > | > Error Text:
| > | >
| > | > The subscription to publication 'V3ReplDEV' is invalid.
| > | > (Source: Merge Replication Provider (Agent); Error
| number: -2147201019)
| > | >
| >
--------------------------------------------------------------------------
| > | --
| > | > -----------------------------------
| > | > The remote server is not defined as a subscription server.
| > | > (Source: XXX.XXX.XXX.XXX (Data source); Error number: 14010)
| > | >
| >
--------------------------------------------------------------------------
| > | --
| > | > -----------------------------------
| > | >
| > | > So every time I run the merge agent after this it repeats the same
| > process
| > | > (my bulk insering a new snapshot)
| > | >
| > | > I have created another subscription on the same internal machine to
a
| > | local
| > | > database. That subscription works
| > | > fine so I think there is a permissions issue. Unfortunatly, I really
| > don't
| > | > know what permissions would be causing
| > | > the problem.. If anyone can help I would greatly appreciate it!
| > | >
| > | > Thanks Much!
| > | > Mike Fredrick
| > | >
| > | >
| > |
| > |
| > |
| >
|
|
|
 
 
 

Merge Replication - Invalid Subscriptions

Post by Yves » Wed, 25 Jul 2001 23:26:55


Thanks,

This was the solution to the problem I coped with a few
weeks ago.
I thought the problem was that port 1433 was not open at
the publisher/originating side (for incoming traffic), so
we opened it a few days ago for certain IP's, but we had
the same result (not valid subscription).

Thanks again.

>-----Original Message-----
>Glad to be able to help.
>--------------------





>| Subject: Re: Merge Replication - Invalid Subscriptions
>| Date: Sat, 21 Jul 2001 18:02:23 -0500
>|
><Snip of Header Stuff>
>|
>| Thanks Much all
>|
>| I used the LMHOSTS local file of each NT machine and it
worked like a
>| charm!!
>|
>| Thanks again!
>| Mike
>|
>|
>|

in message

>| > Mike,
>| >
>| > Vijayts is correct.  Use the SQL client Network
utility on your
>publisher
>| > to define an alias for the server on the DMZ.  

Register that server as a

- Show quoted text -

>| > subscriber and then push your subscription.
>| >
>| > John Gose
>| > MCDBA
>| > Microsoft SQL Server Support
>| >
>| > --------------------


>| > | Subject: Re: Merge Replication - Invalid
Subscriptions
>| > | Date: Wed, 18 Jul 2001 11:49:40 -0700
>| > |
>| > <Snip of Header Stuff>
>| > |
>| > | The subscription server is defined with the
servername but the
>| replication
>| > | agent is trying to connect with IP address.  (To be
precise, the IP
>| > address
>| > | is not defined in the sysservers of the publisher
database)
>| > | This is the problem.  Instead of adding the IP

address to sysservers

- Show quoted text -

>of
>| > | publisher , I suggest that you make an alias with
cliconfg.exe or
>| lmhosts
>| > | type mapping between subscriber name and  IP
address so that the
>| > replication
>| > | agent knows only about the server name rather than
IP address.
>| > |
>| > |



>| > | > Greetings List,
>| > | >
>| > | > I hope somebody can help me out here... here's my
situtation.
>| > | >
>| > | > SS2K on 2 machines, on on DMZ one on Internal.
Both have
>connectivity
>| to
>| > | > each other on 1433
>| > | >
>| > | > Internal is the distributor and the publisher. A
push subscription
>is
>| > set
>| > | up
>| > | > to send data from Internal to DMZ
>| > | >
>| > | > I have the standard setup going and when I create
the push
>| subscription
>| > it
>| > | > runs the snapshot agent just fine,
>| > | > transports and imports the snapshot.. then when
it looks like it
>works
>| > OK
>| > | > the Merge Agent says:
>| > | >
>| > | > The subscription to publication 'V3ReplDEV' is
invalid.
>| > | >
>| > | > Error Text:
>| > | >
>| > | > The subscription to publication 'V3ReplDEV' is
invalid.
>| > | > (Source: Merge Replication Provider (Agent); Error
>| number: -2147201019)
>| > | >
>| >
>----------------------------------------------------------
----------------
>| > | --
>| > | > -----------------------------------
>| > | > The remote server is not defined as a

subscription server.
Quote:>| > | > (Source: XXX.XXX.XXX.XXX (Data source); Error
number: 14010)
>| > | >
>| >
>----------------------------------------------------------
----------------
>| > | --
>| > | > -----------------------------------
>| > | >
>| > | > So every time I run the merge agent after this it
repeats the same
>| > process
>| > | > (my bulk insering a new snapshot)
>| > | >
>| > | > I have created another subscription on the same

internal machine to
Quote:>a
>| > | local
>| > | > database. That subscription works
>| > | > fine so I think there is a permissions issue.

Unfortunatly, I really

- Show quoted text -

Quote:>| > don't
>| > | > know what permissions would be causing
>| > | > the problem.. If anyone can help I would greatly
appreciate it!
>| > | >
>| > | > Thanks Much!
>| > | > Mike Fredrick
>| > | >
>| > | >
>| > |
>| > |
>| > |
>| >
>|
>|
>|

>.

 
 
 

1. Merge Replication - Invalid subscription error when using more tables - help

I'd be very grateful for any help or thoughts on this.
We have two sql server 7 replicating servers - there are about 6 databases
replicating using merge replication.
Both servers are running service pack 2 for sql server
I wanted to add two columns to tables on one of the databases - after
ensuring there were no entries being made, I deleted the subscription, and
the publication, added the columns on the tables in both versions of the
database then recreated the publication and the subscription. The snapshot
creates fine.
BUT the merge agent won't complete the initialisation of the subscription
repeatedly failing after 14 steps with
the subscription to publication 'dbMyDatabase' is invalid
the last command was {call sp_MSgetreplicainfo(?,?,?,?,?,?,?)}
Category - Data Source, Source - mydatasource, number 11
and full error message
General network error. Check you network documentation.

Yet the other 5 databases which I didn't stop are merrily replicating away.
I can't find anything on this and am pulling out the remaining few strands
of hair.
Thanks.
Regards, John.

2. How to: return DAO/ODBCDirect recordset/array from Oracle8 function?

3. Merge replication: The subscription to the publication is invalid

4. Looking for a browser like screen object

5. Merge replication: the subscription to the publication is invalid

6. databeacon 5.0 Olap Engine!

7. Subscription expired merge replication

8. seqscans from sysmaster

9. Merge Replication - Jet Database Subscription

10. Setting up Merge Replication with Push and Pull subscriptions

11. Merge-Replication - Subscription not valid

12. Merge replication - pull subscription

13. Merge Replication Pull Subscription