dbTalk Databases Forums  

Can SQLCE dsf subcribe to 2 publications from the same server database?

microsoft.public.sqlserver.replication microsoft.public.sqlserver.replication


Discuss Can SQLCE dsf subcribe to 2 publications from the same server database? in the microsoft.public.sqlserver.replication forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dickson
 
Posts: n/a

Default Can SQLCE dsf subcribe to 2 publications from the same server database? - 01-31-2006 , 06:11 AM






Is it possible for a sqlce database to subscribe to 2 publications publish
from the same server database?
I have the sqlce sdf file created from synchronize with the 1st publication
with the "AddOption.CreateDatabase".
Then later i created a 2nd publication from the same database in the server
and I want to subscribe to the new 2nd publication
in the same sqlce sdf file. I get the error "Initializing SQL Server
Reconciler has failed,,,,".

Below is my code :-

---
Dim repl as SqlCeReplication
---
---
If File.Exist("My Documents\Product.sdf") then
repl.Synchronize()
Else
repl.repl.Synchronize(AddOption.CreateDatabase)
End if




Reply With Quote
  #2  
Old   
Hilary Cotter
 
Posts: n/a

Default Re: Can SQLCE dsf subcribe to 2 publications from the same server database? - 01-31-2006 , 07:08 AM






Not in SQL 2000. I believe it is possible in SQL 2005.

--
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

"Dickson" <fvhck (AT) pc (DOT) jaring.my> wrote

Quote:
Is it possible for a sqlce database to subscribe to 2 publications publish
from the same server database?
I have the sqlce sdf file created from synchronize with the 1st
publication
with the "AddOption.CreateDatabase".
Then later i created a 2nd publication from the same database in the
server
and I want to subscribe to the new 2nd publication
in the same sqlce sdf file. I get the error "Initializing SQL Server
Reconciler has failed,,,,".

Below is my code :-

---
Dim repl as SqlCeReplication
---
---
If File.Exist("My Documents\Product.sdf") then
repl.Synchronize()
Else
repl.repl.Synchronize(AddOption.CreateDatabase)
End if






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.