Re: Jet Replication in Access 2007
- From: "David W. Fenton" <XXXusenet@xxxxxxxxxxxxxxxxxxx>
- Date: 29 May 2008 23:27:46 GMT
Peter <peter.grman@xxxxxxxxx> wrote in
news:c9ac9e8d-f028-46ad-a5a1-a8443b97532e@xxxxxxxxxxxxxxxxxxxxxxxxxxx
m:
i've got an older Access program, which is written in the version
2000 and i'd like to use it with my new office 2007, so access
2007.
In the program, there is an replication written with the Jet
Replica Library, and i read on a microsoft site, that replications
in jet schould still work in access 2007, if you still use the old
extension .mdb
so i tried it, but there comes the error -2147467259 - "The
Microsoft Office Access - Databasemodul was not initialized."
Here is the connection-string, i use to connect to the replicable
datafile:
"Provider=Microsoft.ACE.OLEDB.12.0;User ID=Entwickler;
Password=qwerASDF12;Data Source=c:\Programme\BAP
\BAP_Prog_V13_FINAL.mdb;Mode=Share Deny None;Extended
Properties="";Jet OLEDB:System
database=c:\Programme\BAP\BAP.mdw;Jet OLEDB:Registry
Path=Software\Microsoft\Office\12.0\Access\Access Connectivity
Engine;Jet OLEDB:Database Password="";Jet OLEDB:Engine Type=5;Jet
OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk
Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database
Password="";Jet OLEDB:Create System Database=False;Jet
OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on
Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet
OLEDB:SFP=False;Jet OLEDB:Support Complex Data=True;"
This is an OLEDB connect string, and makes no sense, since you can't
have linked tables with ADO.
and here is the code, i use to replicate the data:
Dim repMaster As New JRO.Replica
repMaster.ActiveConnection = GetJetConnection(GetINIData("Pfade",
"Daten"))
repMaster.CreateReplica strPfad, "Repliziert Daten von BAP"
Does anyone has in idea?
The Office 2007 is installed complete. I also tried to change the
Jet OLEDB:Engine Type to version 6, but this also didn't help
anything.
Why are you using OLEDB?
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
.
- Follow-Ups:
- Re: Jet Replication in Access 2007
- From: Peter
- Re: Jet Replication in Access 2007
- References:
- Jet Replication in Access 2007
- From: Peter
- Jet Replication in Access 2007
- Prev by Date: Reset subtotal within a query
- Next by Date: Simple / Complicated Query?
- Previous by thread: Jet Replication in Access 2007
- Next by thread: Re: Jet Replication in Access 2007
- Index(es):
Relevant Pages
|