N
nafi
hi,
now i'm working with replication using VS.Net2003 and SQL2000.....i
couldn't syncronize ....i got error like " A request to send data to
the computer running IIS has failed.For more information ,see HRESULT"
.......here my codes
Dim rep As SqlCeReplication
Try
rep = New SqlCeReplication
rep.PublisherSecurityMode =
SecurityType.NTAuthentication
rep.InternetUrl =
"https://152.226.128.226/Northwind/sscesa20.dll"
rep.InternetLogin = "Administrator"
rep.InternetPassword = "nafipassword"
rep.Publisher = "TP-B4EYXYGNF6AN\TP"
rep.PublisherDatabase = "Northwind"
rep.PublisherLogin = "sa"
rep.Publication = "NorthwindProducts"
rep.Subscriber = SUBSCRIBER
rep.SubscriberConnectionString = "Data source=\My
Documents\Products.sdf"
If File.Exists("\My Documents\Products.sdf")
Then
rep.Synchronize()
Else
MessageBox.Show("You must first create a database",
"Error")
End If
End Try
can anyone help me!!
Thank u
now i'm working with replication using VS.Net2003 and SQL2000.....i
couldn't syncronize ....i got error like " A request to send data to
the computer running IIS has failed.For more information ,see HRESULT"
.......here my codes
Dim rep As SqlCeReplication
Try
rep = New SqlCeReplication
rep.PublisherSecurityMode =
SecurityType.NTAuthentication
rep.InternetUrl =
"https://152.226.128.226/Northwind/sscesa20.dll"
rep.InternetLogin = "Administrator"
rep.InternetPassword = "nafipassword"
rep.Publisher = "TP-B4EYXYGNF6AN\TP"
rep.PublisherDatabase = "Northwind"
rep.PublisherLogin = "sa"
rep.Publication = "NorthwindProducts"
rep.Subscriber = SUBSCRIBER
rep.SubscriberConnectionString = "Data source=\My
Documents\Products.sdf"
If File.Exists("\My Documents\Products.sdf")
Then
rep.Synchronize()
Else
MessageBox.Show("You must first create a database",
"Error")
End If
End Try
can anyone help me!!
Thank u