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/sscesa20.dll"
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 = "Data source=\My Documents\" & _"IntelligenceData.sdf;" & _"SSCE: Database Password=apress"
If File.Exists("\My Documents\IntelligenceData.sdf") Then
rep.Synchronize()
Else
MessageBox.Show("You must first create a database", "Error")
End If
////////////////////////////////////
can anyone help me ,how to solve this issue?
Thanks in advance
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/sscesa20.dll"
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 = "Data source=\My Documents\" & _"IntelligenceData.sdf;" & _"SSCE: Database Password=apress"
If File.Exists("\My Documents\IntelligenceData.sdf") Then
rep.Synchronize()
Else
MessageBox.Show("You must first create a database", "Error")
End If
////////////////////////////////////
can anyone help me ,how to solve this issue?
Thanks in advance