Advertisement

07.23.2008 at 04:01AM PDT, ID: 23587987 | Points: 500
[x]
Attachment Details

MS ACCESS DATABASE REPLICATION BETWEEN COMPANY SERVER AND SECURE WEB SITE

Asked by henrymarriott in Microsoft Access Database, VB Database Programming

Tags: Visual Basic 6 and ASP, Invalid HTTP address

Does anyone have any experience of using JRO to replicate data between Access databases where one is on the internet on a secure site. The scenario is simply one design master sitting on the company server and a replica sitting on the secure server. The design master is updated locally. The replica on the net is updated from time to time via an ASP application. The objective is simply to perform a two way sync at 3am each night. If possible we want to avoid migrating the whole thing onto SQL as the volume of data is very low but it is important that the two files are kept synchronised at least once in 24 hours. Everything syncs perfectly locally.

My main problem is that it keeps throwing up  Invalid HTTP address whenever it tries to sync. Currently the db is in Access 2003 format. Any advantages of using 2000 or 2007?



Any help appreciated


Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
The code is taken straight from MS samples thus:
 
Sub InternetSync(strLocalReplicaPath As String, _
                 strServerReplicaURL As String)
   Dim repLocalReplica  As New JRO.Replica
 
   repLocalReplica.ActiveConnection = strLocalReplicaPath
 
   ' Synchronize the local replica with the replica on
   ' the Internet server.
   repLocalReplica.Synchronize strServerReplicaURL, jrSyncTypeImpExp, _
      jrSyncModeInternet
 
   Set repLocalReplica = Nothing
   'InternetSync "c:\Data\OrderEntry.mdb", "www.mycompany.myserver.com/files/Orders.mdb"
End Sub
 
AND IS INVOKED BY
 
InternetSync "C:\Documents and Settings\Henry\My Documents\My Web Sites\BPTrial\BPdb\Localdb.mdb", https://securesite/BPdb/remotedb.mdb
[+][-]07.23.2008 at 06:48AM PDT, ID: 22069244

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 07:17AM PDT, ID: 22069517

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 07:32AM PDT, ID: 22069685

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 07:33AM PDT, ID: 22069694

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 07:34AM PDT, ID: 22069706

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 07:46AM PDT, ID: 22069866

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 08:01AM PDT, ID: 22070017

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 09:44AM PDT, ID: 22071125

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 02:24AM PDT, ID: 22077276

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.26.2008 at 09:03AM PDT, ID: 22095360

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628