running IIS failed

Joined
Jan 31, 2007
Messages
3
Reaction score
0
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 = "IntelligenceData"
rep.Subscriber = "subscriber"

rep.SubscriberConnectionString="Datasource=\My Documents\" & _"IntelligenceData.sdf;" & _ "SSCE Database Password=apress"

If File.Exists("\MyDocuments\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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top