hi,
I'm working on "MERGE REPLICATION"...i followed the procedure same as the book
"SQL SERVER CE DATABASE DEVELOPMENT WITH the .NET COMPACT FRAMEWORK"Author Rob Tiffany, ch9,10
i got one error msg that..."a request to send data to the computer funning IIS failed,for more information seeHRESULT " ..When my program hits rep.Syncronize()...
here my codes
\\\\\\\\\\\\\\\\\\\\\\\
rep = New SqlCeReplication
rep.InternetUrl= "https://seawolf/fieldagentrda
rep.InternetLogin = "robtiffany"
rep.InternetPassword = "pinnacle"
rep.Publisher = "seawolf"
rep.PublisherDatabase = "IntelligenceData"
rep.PublisherLogin = "sa"
rep.PublisherLogin = "apress"
rep.Publication = "IntelligenceDataPublication"
rep.Subscriber = "subscriber"
rep.SubscriberConnectionString="Datasource=\My Documents\" & _"IntelligenceData.sdf;" & _ "SSCE:Database Password=apress"
If File.Exists("\MyDocuments\IntelligenceData rep.Synchronize() Else End If
MessageBox.Show("You must first create a database", "Error")
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
can anyone help me ,how to solve this issue?
Thanks in advance
There is one posting, http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=333541&SiteID=1.
Can you try to see whether this one helps?
Thanks.
This posting is provided AS IS with no warranties, and confers no rights.
|||hi,
Thank u for ur suggestion
i already try out my program with IP adress...but the error is same....
On that link ,another friend sent the reply like... " put sql instance in a diffrent box....test box"......but i don't understand what is meant by 'sql instance' and 'move the replication to a test box on the lan'.....do u have any idea?
Thanks
-nafi
No comments:
Post a Comment