Re: Replication problems
From: pat (pat_at_discussions.microsoft.com)
Date: 09/11/04
- Previous message: pat: "Re: Replication problems"
- In reply to: Kevin Collins \(MS - SQL Mobile\): "Re: Replication problems"
- Next in thread: pat: "Re: Replication problems"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 11 Sep 2004 09:11:06 -0700
Dear Mr. Collins!
I still work on the sample from this site
http://www.msdn.microsoft.com/SQL/SQLCE/default.aspx?pull=/msdnmag/issues/03/09/datapoints/default.aspx to get work on my local machine and on my PocketPc.
I have now changed the sample code once more a little bid in that way:
//Set up the Replication properties
oRpl = new SqlCeReplication();
oRpl.Publisher = "ACHATSCHITZ";//achatschitz is my MachineName
oRpl.PublisherLogin = "sa"; //sa is the user to gain access to a database of
the SQL Server with the sa as passwod.
oRpl.PublisherPassword = "sa";
oRpl.InternetUrl = "http://ACHATSCHITZ/pat/sscesa20.dll"; //pat is the alias
of my created virtual directory.
oRpl.InternetLogin = "iusr_ACHATSCHITZ";
oRpl.InternetPassword = "";
oRpl.Subscriber = "CESubscriberTest";
oRpl.Publication = "NorthwindPub";
oRpl.PublisherDatabase = "Northwind";
oRpl.SubscriberConnectionString =
"Provider=Microsoft.SQLSERVER.OLEDB.CE.2.0;Data Source=" +
this.m_sDataSource;
DialogResult oResponse = DialogResult.Yes;
But i still receive two errors when i execute the application:
Error #1 of 2
Error Code: -2147467259
Message: A call to SQL Server Reconciler failed.[,,,,]
Minor Err.: 29006
Source: Microsoft SQL Server 2000 Windows CE Edition
Error #2 of 2
Error Code: -2147201001
Message: The process could not deliver the snapshot to the Subscriber.
Minor Err.: 0
Source: Merge Replication Provider
I looked already in the msdn for these errors but i did not find something
useful. Please don't let me hang and answer me again, i think i could not
work this out with out your help.:((
regards
patrick
PS: The only settings for the Replication i made were the creation of the
virtual directory and the creation of the publication, as quoted in your
doc-file and in the quoted url at the top of my posting.
- Previous message: pat: "Re: Replication problems"
- In reply to: Kevin Collins \(MS - SQL Mobile\): "Re: Replication problems"
- Next in thread: pat: "Re: Replication problems"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|