Problem with pwd-protected Access .mdb

From: Developer (wanderer_at_mapinfo.nope.com)
Date: 02/24/04


Date: Tue, 24 Feb 2004 09:16:47 -0500

Hello,

I'm trying to open a password-proteced Access table using an OleDbConnection
in ADO.Net.
This connection string:
    Provider='Microsoft.JET.OLEDB.4.0';Data source =
C:\temp\dbpwd.mdb;Password=pwd;
produces this exception:
    System.Data.OleDb.OleDbException: Cannot start your application. The
workgroup information file is missing or opened exclusively by another user.

What else do I need to do?

TIA.



Relevant Pages

  • Re: Problem with OleDbConnection Object
    ... First - I'd do a File.Exists before setting the connection string - if the ... get a StackOverflow exception for instance you wouldn't handle it the same ... > I have written the following function which returns OleDbConnection ... Dim cnn As OleDbConnection ...
    (microsoft.public.dotnet.general)
  • Re: Global ASAX
    ... > and in your code inside the HTML, ... > want to store the connection string in the Application variable and create ... > new instances of OleDbConnection as needed...having instances of objects ... >> Dim objConnection As OleDbConnection ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Security exception while opening an OleDBConnection
    ... it could be some anomalies in your connection string. ... Security Exception. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Global ASAX
    ... want to store the connection string in the Application variable and create ... new instances of OleDbConnection as needed...having instances of objects ... > Sub Application_Start ... > Dim objConnection As OleDbConnection ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Still unable to connect to SQL database on non-development machine
    ... the exception class has numerous properties that will return ... So, as the client machine is within the IT department, it has ... you need to have a DSN created on the machine that will be using ... Let's simplify it and stick with your original connection string. ...
    (microsoft.public.dotnet.framework.adonet)