Re: Access File Password

From: Richard Gilbert (r_a_g_at_bellsouth.net)
Date: 10/09/03


Date: Thu, 9 Oct 2003 08:40:29 -0400

Thanks Jason,
My connection string was missing the 'Jet OLEDB:Database ' before Password.
I added that and it works. Thank you.
Richard.

"jason" <jason@no-replies.com> wrote in message
news:3f84a8b8$1@newsgroups.borland.com...
>
> Richard,
> You need to have a look at your connection string.
> Make sure it includes..
> ConString := 'Provider=Microsoft.Jet.OLEDB.4.0;' +
> 'Data Source=' + databasePath +
> ';Mode=Share Deny None;' +
> 'Persist Security Info=false;' +
> 'Jet OLEDB:Database Password=xxxxx';
>
> Cheers,
> Jason.
>
> "Richard Gilbert" <r_a_g@bellsouth.net> wrote:
> >I am trying to open a MS ACCESS ".MDB" database file with ADO and JET 4.0
> >OLE DB Provider. I successfully open MDB files which do not have a
password,
> >but when I try to open a MDB file with a password, I get the following
> >error:
> >"Cannot start your application. The workgroup information file is
missing
> >or opened exclusively by another user."
> >
> >I copied the MDB file from another system, and I can open it in Access.
> >What am I missing? Or what do I need to do?
> >
> >Thanks,
> >Richard
> >
> >
> >
>



Relevant Pages

  • Re: How to enable Windows Authentication
    ... either your missing something or I am missing something and I ... Windows Local User accounts. ... I remove the comments from the connection string in the web.config I can ... When connecting to SQL Server 2005, this failure may be caused by the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Connection to Access Database Problem
    ... Most likely you've an incorrect or missing value in the connection string. ... SQL State: 3028, SQL Error Code: =124520301. ... an Access problem rather than a Delphi one, ...
    (borland.public.delphi.database.ado)
  • Data Access Application Block
    ... the Data Access Application Block in a web app. ... Am I missing something, or can the connection string only be set in the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Display data from sharepoint lists on my homepage
    ... I want to display data from sharepoint lists on my homepage by using ... the following connection string in asp.net: ... The workgroup information file is missing or opened ...
    (microsoft.public.sharepoint.portalserver)
  • Re: kSokoban MIA
    ... On Sunday 09 January 2005 11:46, Richard E Miles wrote: ... >> to be missing in action though the kdegames package claims to have it, ... > I am missing this packages also. ...
    (Fedora)