all groups > sql server replication > january 2007 >
You're in the

sql server replication

group:

URGENT -==>new Data added on subscribers side is getting deleted


Re: URGENT -==>new Data added on subscribers side is getting deleted Daniel Crichton
1/4/2007 12:11:16 PM
sql server replication: SANJAY wrote on Thu, 4 Jan 2007 17:27:39 +0530:

[quoted text, click to view]

Depends on what version of SQL Server you have. From what I understand, with
2000 you need Merge Replication, on 2005 you can use Transactional
Replication with updating subscriptions (intended where very few changes are
made at the Subscribers) or Merge Replication. Normal Transactional
Replication in both cases only handles the Publisher making changes.

Dan

URGENT -==>new Data added on subscribers side is getting deleted SANJAY PAWAR
1/4/2007 5:27:39 PM
I have Publisher and Subscriber on 2 different locations.
Data added on subscriber is getting deleted and overwritten by the
publishers data at the time of synchronisation.
I want 2 way update. Data can be added on PUBLISHER as well as SUBSCRIBER.

Is it possible in Trans Replication ?
OR is there any other alternative.

Thanks in Advance
Sanjay

Re: URGENT -==>new Data added on subscribers side is getting deleted SANJAY PAWAR
1/4/2007 6:52:46 PM
Dear Dan,

Thanks for the suggetions.

I am using following commands from VB. Which does not work with MERGE
Replication. It is asking for SNAPSHOT or TRANSACTIONAL. Pls suggest what
modification it require ?


Dim objSQLDist, objNetwork
Set objSQLDist = CreateObject("SQLDistribution.SQLDistribution.2")
'Set objNetwork = Wscript.CreateObject("Wscript.Network")
objSQLDist.Publication = mPublication

objSQLDist.Publisher = mPublisherName
objSQLDist.PublisherAddress = mPublisherAddress
objSQLDist.PublisherNetwork = TCPIP_SOCKETS
objSQLDist.PublisherDatabase = mPublisherDatabase
objSQLDist.PublisherSecurityMode = DB_AUTHENTICATION
objSQLDist.PublisherLogin = mPublisherLogin
objSQLDist.PublisherPassword = mPublisherPassword
objSQLDist.FileTransferType = PULL
objSQLDist.Subscriber = mSubscriberName
objSQLDist.SubscriptionType = ANONYMOUS
objSQLDist.SubscriberSecurityMode = DB_AUTHENTICATION
objSQLDist.SubscriberLogin = mSubscriberLogin
objSQLDist.SubscriberPassword = mSubscriberPassword
objSQLDist.SubscriberDatabase = mSubscriberDatabase

objSQLDist.Initialize
objSQLDist.Run



[quoted text, click to view]

Re: URGENT -==>new Data added on subscribers side is getting deleted SANJAY PAWAR
1/4/2007 6:56:45 PM
I am unable to synchronise through sql server 2000 enterprise manager.
It gives problem connecting remote server.

Pls help.



[quoted text, click to view]

Re: URGENT -==>new Data added on subscribers side is getting deleted SANJAY PAWAR
1/4/2007 7:08:43 PM
When I synchronise through subscriber, it gives me following error.

'The specified remote server name may not be the network name of the remote
server or the remote server is unreachable due to network problems. The
step failed.'

Pls help me configuring subscriber side.

Thanks in advance
Sanjay


[quoted text, click to view]

AddThis Social Bookmark Button