A
Atley
I seem to have missed something.
I am using the code straight from the example on the site:
Dim repl As System.Data.SqlServerCe.SqlCeReplication = Nothing
Try
' Set the Replication object.
repl = New System.Data.SqlServerCe.SqlCeReplication
repl.InternetUrl = http://192.168.1.13/moviebase/sscesa20.dll
repl.InternetLogin = "MyCEMachine"
repl.InternetPassword = "connectivity"
repl.Publisher = "\\ariassvr"
repl.PublisherDatabase = "clientbase"
repl.PublisherLogin = "MyCEMachine"
repl.PublisherPassword = "connectivity"
repl.Publication = "clientbase"
repl.SubscriberConnectionString =
"Provider=Microsoft.SQLSERVER.OLEDB.CE.2.0;Data Source=\testce.sdf"
repl.Subscriber = "MyPDA"
' Synchronize to the instance of SQL Server 2000 to populate the
Subscription.
repl.Synchronize()
Catch e As System.Data.SqlServerCe.SqlCeException
' Use your own error handling routine to show error information.
'ShowErrors(e)
MsgBox(e.ToString)
Finally
' Dispose of the Replication object.
repl.Dispose()
End Try
I must be missing something simple... I just don't seem to be getting
this... I get a SqlCeException error each time I run this... I am not
getting an error message that I can use... Any help would be greatly
appreciated.
Atley
I am using the code straight from the example on the site:
Dim repl As System.Data.SqlServerCe.SqlCeReplication = Nothing
Try
' Set the Replication object.
repl = New System.Data.SqlServerCe.SqlCeReplication
repl.InternetUrl = http://192.168.1.13/moviebase/sscesa20.dll
repl.InternetLogin = "MyCEMachine"
repl.InternetPassword = "connectivity"
repl.Publisher = "\\ariassvr"
repl.PublisherDatabase = "clientbase"
repl.PublisherLogin = "MyCEMachine"
repl.PublisherPassword = "connectivity"
repl.Publication = "clientbase"
repl.SubscriberConnectionString =
"Provider=Microsoft.SQLSERVER.OLEDB.CE.2.0;Data Source=\testce.sdf"
repl.Subscriber = "MyPDA"
' Synchronize to the instance of SQL Server 2000 to populate the
Subscription.
repl.Synchronize()
Catch e As System.Data.SqlServerCe.SqlCeException
' Use your own error handling routine to show error information.
'ShowErrors(e)
MsgBox(e.ToString)
Finally
' Dispose of the Replication object.
repl.Dispose()
End Try
I must be missing something simple... I just don't seem to be getting
this... I get a SqlCeException error each time I run this... I am not
getting an error message that I can use... Any help would be greatly
appreciated.
Atley