Board index » delphi » Problem connecting to a secured Access2000-Database with ADO

Problem connecting to a secured Access2000-Database with ADO

Hello all,

does anyone know how to connect do a secured Access 2000 Database
with ADO using a MS-Jet 4.0 OLE DB Provider Connection.
The Error-Message: Cannot find the information file of the Workgroup.
I secured the Access-DB and there is an .mdw in the same directory.
Even this doesn't work:
Provider=Microsoft.Jet.OLEDB.4.0;User ID=Test;Data Source=C:\test\Test.mdb
/WRKGRP "C:\test\Test.mdw";Persist Security Info=False

Thanks
Stephen

 

Re:Problem connecting to a secured Access2000-Database with ADO


Quote
"Stephen Hahn" <stephen.h...@t-online.de> wrote in message

news:3c9fa4ff$1_1@dnews...

Quote
> Hello all,

> does anyone know how to connect do a secured Access 2000 Database
> with ADO using a MS-Jet 4.0 OLE DB Provider Connection.
> The Error-Message: Cannot find the information file of the Workgroup.
> I secured the Access-DB and there is an .mdw in the same directory.
> Even this doesn't work:
> Provider=Microsoft.Jet.OLEDB.4.0;User ID=Test;Data Source=C:\test\Test.mdb
> /WRKGRP "C:\test\Test.mdw";Persist Security Info=False

If it's secured then presumably there's a password.

Jet OLEDB:Database Password=MyPassword;

--

Quidquid latine dictum sit, altum viditur.
#319

Re:Problem connecting to a secured Access2000-Database with ADO


Hi,

Never tried it my self, but I think you should add something like "Jet
OLEDB:System database=C:\test\test.mdw" in the connection string.... or
maybe use an odbc dsn and specify the mdw in it (if odbc is an option for
you)?

Lee-Z

Quote
"Stephen Hahn" <stephen.h...@t-online.de> wrote in message

news:3c9fa4ff$1_1@dnews...
Quote
> Hello all,

> does anyone know how to connect do a secured Access 2000 Database
> with ADO using a MS-Jet 4.0 OLE DB Provider Connection.
> The Error-Message: Cannot find the information file of the Workgroup.
> I secured the Access-DB and there is an .mdw in the same directory.
> Even this doesn't work:
> Provider=Microsoft.Jet.OLEDB.4.0;User ID=Test;Data Source=C:\test\Test.mdb
> /WRKGRP "C:\test\Test.mdw";Persist Security Info=False

> Thanks
> Stephen

Other Threads