Article View: borland.public.cppbuilder.database.ado
Article #640problem connecting to 'secure' Access DB
From: Sasan
Date: Mon, 16 Jan 2006 20:32
Date: Mon, 16 Jan 2006 20:32
27 lines
2085 bytes
2085 bytes
Hello, I have an Access DB that I have set up with security, (i.e. I followed the steps for 'ACC2000: Overview of How to Secure a Microsoft Access Database', http://support.microsoft.com/support/kb/articles/q254/3/72.asp) I can open this database in Access by providing the correct name/password combo. My problem is trying to connect with a TADOConnection component. I've tried using the MS Jet 4.0 provider and by creating an ODBC 'System DSN' and using the ODBC Driver. With Jet when I press 'Test Connection' I get, "Test connection failed because of an error in initializing provider. Cannot start your application. The workgroup information file is missing or opened exclusively by another user." With ODBC I get, "Test connection failed because of an error in initializing provider. [Microsoft][ODBC Microsoft Access Driver] You do not have the necessary permissions to use the '(unknown)' object. Have your system adminmistrator or the persion who created this object establish the appropriate permissions for you." My guess is I need to somehow point to my MS Access system database (the *.mdw file), but I don't know how to do that. Best regards, m.t
Technical Details
Message-ID:
<43cc0252@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,8d0cdae35cde1418,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Sasan" <sasan_vm@yahoo.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: problem connecting to 'secure' Access DB Date: Tue, 17 Jan 2006 00:02:44 +0330 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 217.219.89.195 Message-ID: <43cc0252@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1137443410 217.219.89.195 (16 Jan 2006 12:30:10 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail